dig domain ns fails when local name servers misconfigured

2010-09-29 Thread Tristan Goguen


Hi all,

We have been using dig to retrieve a domain's name servers for years.  
Unfortunately, the dig syntax we normally use does not work when name  
servers are misconfigured. Currently, dig is returning an empty name  
server list for domain ilap.ca:


dig +short ilap.ca ns
 empty list 

For testing purposes, we removed the zone statement for the domain.

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?


Thank you for any advice.

Regards,
Tristan

-
Tristan Goguen
CEO, ILAP(r)

(416) 250-5600 x205   -   tgog...@ilap.com

Our mission is to provide the North American marketplace with advanced  
Internet solutions.


BEGIN:VCARD
VERSION:3.0
N:Goguen;Tristan;;;
FN:Goguen Tristan
ORG:Internet Light and Power Inc.;
TITLE:CEO
EMAIL;type=INTERNET;type=WORK;type=pref:tgog...@ilap.com
TEL;type=WORK;type=pref:(416) 250-5600 X\:205
TEL;type=CELL:(416) 919-3773
item1.ADR;type=WORK;type=pref:;;210 Sheppard Avenue East;Toronto;ON;M2N 3A9;CA
item1.X-ABADR:ca
item2.URL;type=pref:http\://ilap.com/
item2.X-ABLabel:_$!HomePage!$_
X-ABUID:F34BC1E6-BADF-4147-A464-E049519D1DDE\:ABPerson
END:VCARD



___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: dig domain ns fails when local name servers misconfigured

2010-09-29 Thread Karl Auer
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 (ka...@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


signature.asc
Description: This is a digitally signed message part
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users