Nslookup and dig

Gregory Hicks ghicks at cadence.com
Wed Apr 23 08:32:05 UTC 2008


> From: "Bob Hoffman" <bob at bobhoffman.com>
> To: <bind-users at isc.org>
> Subject: Nslookup and dig
> Date: Wed, 23 Apr 2008 03:59:16 -0400
> 
> I have been playing around with different setups and finding bind 
quite
> interesting.
> 
> I have come across a peculiar item..
> 
> I added a website and am able to resolve it via ftp, http, and mail, 
no
> problem...very quick and no errors.
> 
> I can use dig on my site and any other site and it works fine.
> However, if I do nslookup on my site it 'can't find it'. Yet if I do 
dig on
> my site, it works fine.
> 
> >From my terminal via putty, using my server to look:
> 
> typing dig mysite.com gets a good answer
> Typing dig google.com gets a good answer
> Typing nslookup google.com get a good answer
> Typing nslookup mysite.com gets error 'cant' find.

I presume that you have a machine that is authoritative for
"mysite.com"...?

What is in /etc/resolv.conf?  Does it point to your authoritative
nameserver?  (It should be the first nameserver in a (potential) list
of three.)

eg:

domain <mysite.com>
search <mysite.com> <some-other-site.com> <...>
nameserver 127.0.0.1 (or the IP of your auth NS)
nameserver <some-other-NS>
nameserver <still-another-NS>

Regards,
Gregory Hicks
> 
> Yet, I can ftp, mail, http, and everything else no problem. In fact
> everything seems fine.
> 
> Seems like a quaint issue.... Anyone else ever have this issue?
> 
> 

---------------------------------------------------------------------
Gregory Hicks                           | Principal Systems Engineer
Cadence Design Systems                  | Direct:   408.576.3609
555 River Oaks Pkwy M/S 9B1
San Jose, CA 95134

I am perfectly capable of learning from my mistakes.  I will surely
learn a great deal today.

"A democracy is a sheep and two wolves deciding on what to have for
lunch.  Freedom is a well armed sheep contesting the results of the
decision."

"The best we can hope for concerning the people at large is that they
be properly armed." --Alexander Hamilton



More information about the bind-users mailing list