NLnetLabs / ldns

LDNS is a DNS library that facilitates DNS tool programming
https://nlnetlabs.nl/ldns
BSD 3-Clause "New" or "Revised" License
292 stars 98 forks source link

Drill needs a fast method to get SOA records from all name servers for a domain #180

Open sincomil opened 2 years ago

sincomil commented 2 years ago

drill lacking a feature like dig's +nssearch argument to quickly pull all SOA's to compare them. For example it is very useful to detect that zone serial numbers have differences, it is common issue when IXFRs is not working between name servers.

example query with dig:

$ dig +nssearch google.com
SOA ns1.google.com. dns-admin.google.com. 457295279 900 900 1800 60 from server 216.239.36.10 in 32 ms.
SOA ns1.google.com. dns-admin.google.com. 457295279 900 900 1800 60 from server 216.239.38.10 in 32 ms.
SOA ns1.google.com. dns-admin.google.com. 457432753 900 900 1800 60 from server 216.239.32.10 in 56 ms.
SOA ns1.google.com. dns-admin.google.com. 457295279 900 900 1800 60 from server 216.239.34.10 in 72 ms.
wtoorop commented 2 years ago

@TCY16 what do you think? Something you could do when time permits?