DIG NS output order

Barry Margolin barmar at alum.mit.edu
Sun Mar 2 03:59:22 UTC 2008


In article <fqcv4a$nvs$1 at sf1.isc.org>, ultradennis at comcast.net wrote:

> Sorry for the dumb question but when u do a dig @ any ww.abc.com and
> it comes back with 3 name servers can you assume the first NS record
> is where the answer came from.  This is assuming it wasn't cached
> before and went to an authoritative name server to get the answer.
> If not, is there a option in DIG when do a query to list what server
> it queried to get the authoritative answer?

No to both questions.  There's nothing in the DNS protocol that provides 
a way for a nameserver to include this kind of info in its response.

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE don't copy me on replies, I'll read them in the group ***


More information about the bind-users mailing list