dig multiple nameservers at once
pip install digs
- Check all record in multiple defined nameservers
- Assert the returned result
- Check config in current directory by default. Either using
yml
oryaml
as extension - Support custom config location.
$ digs foo.com SOA
66.0.0.0 - Los Angeles
satu.neodns.id. hostmaster.neodns.id. 2019102900 10800 3600 604800 38400
45.0.0.0 - Silicon Valley
satu.neodns.id. hostmaster.neodns.id. 2019102900 10800 3600 604800 38400
108.0.0.0 - New Jersey
satu.neodns.id. hostmaster.neodns.id. 2019102900 10800 3600 604800 38400
$ digs foo.com SOA -f custom-servers.yaml --check
:green:`66.0.0.0 - Los Angeles`
:green:`satu.neodns.id. hostmaster.neodns.id. 2019102900 10800 3600 604800 38400`
:green:`45.0.0.0 - Silicon Valley`
:green:`satu.neodns.id. hostmaster.neodns.id. 2019102900 10800 3600 604800 38400`
:red:`108.0.0.0 - New Jersey`
:red:`1.dns.id. hs.dns.id. 2019102900 10800 3600 604800 38400`
Create digs.yml
file based on digs.yml.example
. Adjust the value to your
needs, then run digs
.