Solved

DNS: No Entry But Nslookup Finds It

Posted on 2001-08-30
5
307 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

813 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now