dns-checker

command module
v0.0.0-...-4ffca5d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2023 License: MIT Imports: 1 Imported by: 0

README

DNS Checker

Given a collection of urls and expected redirects, validates and reports errors.

Input Format

A CSV File with the source urls, the expected redirect and the expected status code (the first line is always skipped):

"source";"target";"status"
"https://google.com";"https://www.google.com/";301

Building

There's a Dockerfile and a GitHub action that creates releases for major OSes and architectures. But if you just want to build a binary:

go build -o dns-checker .

Command line

$ dns-checker --help

Static x Dynamic check

Some redirects are dynamic (aka preserving the suffix: foo.com/bar -> baz.com/bar) others are static (aka always redirect to the same destination: foo.com/bar -> baz.com).

We do the same kind of checking for now, but we have different flags for v.next.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL