DNS help!!!

Kevin Darcy kcd at daimlerchrysler.com
Mon Aug 12 22:51:28 UTC 2002


Ozan Ertugrul wrote:

> Hi,
>
> I have set up a private Windows based intranet at the company I work at and
> I have also been setting up a web/email/ftp/ and dns server on Linux.  The
> intranet is behind a Linux box which I have implemented NAT on.  The problem
> is this I can do a nslookup on the company's domain names from a computer
> that is not within my intranet and get the correct response as to the IP
> addresses of web, email, and ftp servers but when i try to do a nslookup
> from inside my intranet I don't get any response back, but I am able to do a
> nslookup on say yahoo.com and get a response.  Can someone please shed some
> light on this for me. Am  I doing something wrong?
>
> Oh, yeah.  The primary DNS server for all my private intranet machines is
> the Windows 2000 Advanced server machine and the secondary one provided by
> WorldCom.

(Since this is a BIND list, I'm going to assume you're running BIND on your
Win2K box). Turn on query logging on your primary DNS server. Point nslookup
*directly* at your primary DNS server, query the name(s) in question, and see
what you get. If you get nothing, then check the query logs to verify that the
query was actually received on the server. Also, check your logs to see if
there were any errors when the nameserver tried to load the zone files.

On the other hand, if it works when you point nslookup directly at the server,
then this implies that the stub resolver configuration on your client(s) is
screwed up.


- Kevin




More information about the bind-users mailing list