Ping always resolves to a specific ip, but nslookup resolves properly

H

Henrik

On a specific system running Windows 2000 Professional,
running ping on a specific hostname in our network returns
an ip number "199.85.4.55" and reroutes to a web site
pool.com.

When I use nslookup to resolve the hostname, it returns
the correct ip number. Ping always points to the wrong ip
number. I looked into the hosts file and the lmhosts file.

Are there any other files that ping uses to resolve
hostnames?

I would appreciate any assistance. Thank you.
 
W

William Stacey [MVP]

Its probably related to dns suffixes. Check the actual domain name that
shows back when you do the ping. What does it say. nslookup works
differently then the local resolver in how and when it appends the dot and
or suffix search list.
 
H

Henrik

The DNS suffix comes back properly.
When I ping pc1, it comes back with pc1.sd.dn.com, but
with the wrong ip number, 199.84.4.55. There are no
entries in the hosts file except localhost 127.0.0.1 and
there is no lmhosts file.
When I use nslookup pc1, it comes back with the right ip
address for pc1.sd.dn.com, 192.168.0.135

Thank you.
 
M

Matt Hickman

Henrik said:
The DNS suffix comes back properly.
When I ping pc1, it comes back with pc1.sd.dn.com, but
with the wrong ip number, 199.84.4.55. There are no
entries in the hosts file except localhost 127.0.0.1 and
there is no lmhosts file.
When I use nslookup pc1, it comes back with the right ip
address for pc1.sd.dn.com, 192.168.0.135

DNS resolver always checks local cache first. To eliminate a
corruption of the local cache as the cause, run the command

"ipconfig /flushdns"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top