Solved

DNS: No Entry But Nslookup Finds It

Posted on 2001-08-30
5
310 Views
Last Modified: 2013-12-23
Running Bind v8 on Solaris 2.6 Sun box.  This is the one and only primary DNS server.

Cache has been flushed.  No other problems are apparent except for one particular entry being described below.

Doing an "nslookup" finds and reports back name and IP of a local server off the DNS table but this entry (local server) is not found in the DNS table.  The IP Address reported by the nslookup is NOT assigned to this local server but may have been in the past.  Can someone explain what could be happening here?

Also, running "nslookup" on name responds back correctly but give the full name and it fails.
Example: Our domain is:  localserver.net
nslookup johndoe responds CORRECTLY while nslookup johndoe.localserver.net FAILS.
What could be wrong?
0
Comment
Question by:DrRichard
  • 2
  • 2
5 Comments
 
LVL 1

Expert Comment

by:filiep
ID: 6444266
What is in /etc/resolv.conf
Are there other DNS servers defined.
And do you have the next entry : domain localserver.net
0
 
LVL 40

Accepted Solution

by:
jlevie earned 150 total points
ID: 6444759
That sounds like an old nscd bug in Solaris 2.6 that caused data not to be flushed from cache when it should be. I'm pretty sure that one of the patches for 2.6 fixed it, but a reboot should clear the cache. There could be some other possibilities also. You say this machine in the DNS server. Check /etc/resolv.conf and make sure that it looks like:

domain my-domain.tld
nameserver 127.0.0.1

If there are other nameserver's listed for the system, you could be getting old data from one of them. To be certain that you've cleared the nameserver cache, stop and restart named.

Do you see the same behaviour when you query from some other system?
0
 

Author Comment

by:DrRichard
ID: 6444861
/etc/resolv.conf is correct showing the correct domain and nameserver IP address.
The "named" process has been stopped and started several times which is suppose to flush the cache each time.  The DNS server has been up running for the past 155 days.  The same behavior is seen elsewhere.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 6445398
Seeing the same behaviour from other systems does tend to imply that this is a DNS server problem. if you do:

# nslookup
> ls my-domain.tld

do you see the IP & hostname of the server in question in the output?
0
 

Author Comment

by:DrRichard
ID: 6445925
Rebooting the server worked.  It took about 10 minutes to come back up but that worked.  We are going to upgrade to Solaris 2.7
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question