finding authoritative nameservers

Florian Weimer fw at deneb.enyo.de
Thu May 29 20:51:57 UTC 2008


* Mark Andrews:

>> But seriously, there is one small fly in the ointment.  This function
>> apparently returns the IPv4 addresses of the namesevers of interest
>> to me.  But I _need_ the _names_ of those... not their addresses.
>> 
>> Sigh.  So close, yet so far.
>
> 	So ask for the NS records once you have the zone name.

And don't set the RD bit on that query.  Otherwise, BIND will go out to
the network and fetch another, potentially different copy of the RRset.


More information about the bind-users mailing list