dig <domain> ns fails when local name servers misconfigured

Mark Andrews marka at isc.org
Thu Sep 30 00:36:14 UTC 2010


In message <1285805733.5799.857.camel at karl>, Karl Auer writes:
> On Wed, 2010-09-29 at 19:51 -0400, Tristan Goguen wrote:
> > We would like to take some action when domain authority transfers take =20
> > place. Can we configure dig to return the name server list based =20
> > exclusively on a query to the root / TLD servers? Can local name =20
> > servers be ignored?
> 
>    dig +trace ilap.ca ns | grep "^ilap\.ca\." | cut -f6

Note: "awk '{print $5}'" would be more general than "cut -f6" as the
field count doesn't change with the length of the domain name. 
 
> Might need something a bit more robust than that cut if you are working
> with other domains.
> 
> Regards, K.
> 
> --=20
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 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
> 
> --=-OLxFVUYbaa3pAwUMpi6o
> Content-Type: application/pgp-signature; name="signature.asc"
> Content-Description: This is a digitally signed message part
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> 
> iEYEABECAAYFAkyj1p8ACgkQLrx1S82XAVYdhgCffT3jtsoioNOuyDTAxtWjXJWa
> udIAnjp1N7CdkQTrCyRYw2qYxF5mWTik
> =1p3/
> -----END PGP SIGNATURE-----
> 
> --=-OLxFVUYbaa3pAwUMpi6o--
> 
> 
> --===============4169451910662373077==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> _______________________________________________
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
> --===============4169451910662373077==--
> 
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org



More information about the bind-users mailing list