dig <domain> ns fails when local name servers misconfigured

Karl Auer kauer at biplane.com.au
Thu Sep 30 00:15:33 UTC 2010


On Wed, 2010-09-29 at 19:51 -0400, Tristan Goguen wrote:
> We would like to take some action when domain authority transfers take  
> place. Can we configure dig to return the name server list based  
> exclusively on a query to the root / TLD servers? Can local name  
> servers be ignored?

   dig +trace ilap.ca ns | grep "^ilap\.ca\." | cut -f6

Might need something a bit more robust than that cut if you are working
with other domains.

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)                   +61-2-64957160 (h)
http://www.biplane.com.au/kauer/                   +61-428-957160 (mob)

GPG fingerprint: B386 7819 B227 2961 8301 C5A9 2EBC 754B CD97 0156
Old fingerprint: 07F3 1DF9 9D45 8BCD 7DD5 00CE 4A44 6A03 F43A 7DEF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20100930/07fc7900/attachment.bin>


More information about the bind-users mailing list