1
0
Fork 0
mirror of https://github.com/Luzifer/dns_check.git synced 2024-11-08 14:10:06 +00:00
dns_check is a small utility to check major DNS services for records of a FQDN without having to query them one-by-one
Find a file
2015-12-14 17:20:58 +01:00
.gitignore Initital version 2015-12-14 17:13:21 +01:00
.gobuilder.yml Initital version 2015-12-14 17:13:21 +01:00
bindata.go Initital version 2015-12-14 17:13:21 +01:00
dns.go Initital version 2015-12-14 17:13:21 +01:00
History.md Prepared release 0.1.0 2015-12-14 17:13:51 +01:00
LICENSE Added License and README badges 2015-12-14 17:20:58 +01:00
main.go Initital version 2015-12-14 17:13:21 +01:00
Makefile Initital version 2015-12-14 17:13:21 +01:00
nameservers.yaml Initital version 2015-12-14 17:13:21 +01:00
README.md Added License and README badges 2015-12-14 17:20:58 +01:00

License: Apache v2.0 ![GoBuilder Download](https://badge.luzifer.io/v1/badge?color=5d79b5&title=Download&text=on GoBuilder)

Luzifer / dns_check

dns_check is a small utility to check major DNS services for records of a FQDN without having to query them one-by-one.

Use cases:

  • Check whether the IP of your domain is consistent on all services
  • Check whether your DNS change is already live for users of those services
  • Have an automated check which tells you when something is not right

You can see the current table of nameservers oncluded on the build by browsing the nameservers.yaml file.

Usage

# ./dns_check --help
Usage of ./dns_check:
  -a, --assert=[]: Exit with exit code 2 when these DNS entries were not found
      --assert-threshold=100: If used with -a fail when not at least N percent of the nameservers had the expected result
  -f, --full-scan[=false]: Scan all nameservers included in this build
  -q, --quiet[=false]: Do not communicate by text, use only exit codes
  -s, --short[=true]: Use short notation (only when using assertion)
      --version[=false]: Print version and exit

Use case: I know the IP of my domain and want to check whether all services report that IP

# ./dns_check -a "188.40.126.69" A luzifer.io
[Level3] (209.244.0.3:53)[Level3] (209.244.0.4:53)[Verisign] (64.6.64.6:53)[Verisign] (64.6.65.6:53)[Google] (8.8.8.8:53)[Google] (8.8.4.4:53)[OpenDNS Home] (208.67.222.222:53)[OpenDNS Home] (208.67.220.220:53)

Use case: Just tell me the IP of any domain

# ./dns_check A luzifer.io
[Google] (8.8.8.8:53)
 - 188.40.126.69
[Google] (8.8.4.4:53)
 - 188.40.126.69
[Level3] (209.244.0.3:53)
 - 188.40.126.69
[Level3] (209.244.0.4:53)
 - 188.40.126.69
[Verisign] (64.6.64.6:53)
 - 188.40.126.69
[Verisign] (64.6.65.6:53)
 - 188.40.126.69
[OpenDNS Home] (208.67.222.222:53)
 - 188.40.126.69
[OpenDNS Home] (208.67.220.220:53)
 - 188.40.126.69