dns lookup issue in windows client

KSP ksp at att.com
Tue Sep 14 16:03:12 UTC 2004


Saravanan,

Both clients are, in fact, behaving the same.  The difference is in the
way each "nslookup" utility is written.  The "nslookup" on your linux box,
(written by ISC), is saving you some screen real estate and not returning
the root hint it's receiving from your server, 192.168.1.5.  On the other
hand, the "nslookup" command on your Windows machine, (written by
Microsoft), is.  If you were to use the "dig" utility on your linux box:

[guest at test1 guest]$ dig @192.168.1.5 google.com a

you'd get back the same root hints you're seeing on the windows client.
As has been mentioned on this list before, the root hints are hard-coded
into the source code of most versions of Bind 9, so you may think you've
disabled them, but you really haven't.

(Another item to add to the "nslookup is bad" list -- people expect a
utility with the same name to behave in a consistent manner).

Good luck,

ksp

On Tue, 14 Sep 2004, saravanan ganapathy wrote:

> Hai,
>    I am running bind9 on my linux box for my internal
> usage. It works fine for my internal domains.
>
> Problem
> -------
>
> nslookup on linux client
> --------------------------
> [guest at test1 guest]$ nslookup -sil google.com
> Server:         192.168.1.5
> Address:        192.168.1.5#53
>
> Non-authoritative answer:
> *** Can't find google.com: No answer
>
> nslookup on windows client
> ---------------------------
>
> C:\>nslookup google.com
> Server:  dns-slave1.abc.com
> Address:  192.168.1.5
>
> Name:    google.com
> Served by:
> - H.ROOT-SERVERS.NET
>
>
> - I.ROOT-SERVERS.NET
>
>
> - J.ROOT-SERVERS.NET
>
>
> - K.ROOT-SERVERS.NET
>
>
> - L.ROOT-SERVERS.NET
>
>
> - M.ROOT-SERVERS.NET
>
>
> - A.ROOT-SERVERS.NET
>
>
> - B.ROOT-SERVERS.NET
>
>
> - C.ROOT-SERVERS.NET
>
>
> - D.ROOT-SERVERS.NET
>
>
> I have disabled root server config in my dns server
> and include "recursion no".
>
> Why windows client behaves like this?
> I need windows clients also response like linux
> client.
>
> Pls help me
>
> Sarav
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
> http://promotions.yahoo.com/new_mail
>
>


More information about the bind-users mailing list