nslookup default server shows up incorrectly

Barry Margolin barmar at genuity.net
Fri Feb 1 23:25:28 UTC 2002


In article <a3ej1v$3he at pub3.rc.vix.com>,
deviatethenorm <burn at variate.net> wrote:
>
>ive got BIND 9.2.0rc3 runnin on two seperate boxes, ns1 is master of
>ns2. when i configure my client to use ns2 for name resolution and i
>run nslookup, it spits back the following
>
>C:\>nslookup
>Default Server:  ns1.mydomain.com
>Address:  10.1.1.2
>
>now my concern here is that default servername shows up as ns1 while
>the ip that shows up is that of ns2, or is this normal because ns1 is
>master of ns2?

It's just doing a reverse DNS lookup of the server address.  If it's giving
the wrong name, it means you have a mistake in your reverse domain:

2.1.1.10.in-addr.arpa. IN PTR ns1.mydomain.com.

-- 
Barry Margolin, barmar at genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list