2

Alright, I've got an irritating problem. When I ping one of the servers in my company with

ping 192.168.1.62

I get my box ldmmit1 as the result. But when I use this line

ping ldmmit1

I get back ip address 192.168.1.184 with a name of 1st6cf1 as the return. Those are the correct hostnames for those boxes, but I can't understand why the dns server would route requests for ldmmit1 to 1st6cf1. I've done a traceroute, and the requests are handled by the same dns server.

I didn't set it up, so I don't know what or if the problem is located there, though the network guy couldn't see anything on his cursory check. At this point I'm not sure where the problem is, so any pointers would be appreciated.

Spencer Rathbun
  • 320
  • 1
  • 3
  • 9
  • is one of those IPs double-given to these two servers? Did you check if your DNS-server has old entrys for those names? – wullxz May 25 '11 at 14:13

3 Answers3

3

This seems to be a name resolution issue. As such, ping and traceroute will not provide the most useful information. nslookup would more effectively help diagnose this issue.

What is the output of

nslookup ldmmit1

and

nslookup 1st6cf1

The DNS records may be incorrect.

Theoretically the name might be resolving via NetBIOS name service rather than DNS, but that depends on the version of Windows you're running, and requires a WINS server on the network, and that DNS resolution doesn't find anything.

There could also be relevant records in your /etc/hosts file. On my XP machine that's in C:\WINDOWS\system32\drivers\etc. But more than likely, it's just a DNS issue.

This TechNet article has lots of information regarding name resolution.

Bribles
  • 1,004
  • 6
  • 11
3

You'll want to check A records and reverse lookup records.

As mentioned, your server has an A record for ldmmit1 pointing to 192.168.1.184. Or, possibly a pointer record to 1st6cf1 . You've probably also got a reverse lookup record for 192.168.1.184 pointing to 1st6cf1.

You can use nslookup to help sort this out. Try these commands:
nslookup 1st6cf1
nslookup ldmmit1
Check for any alias entries in these two results. Also, check the reverse records for those IPs:

nslookup
>set type=PTR
>192.168.1.184
>192.168.1.62

See how the reverse addresses turn out. You may have things pointing in the wrong places.

Steven Monday
  • 13,599
  • 4
  • 36
  • 45
Christopher Karel
  • 6,582
  • 1
  • 28
  • 34
2

Your DNS server likely has an A record entry for ldmmit1 with the IP of 192.168.1.184.

HostBits
  • 11,796
  • 1
  • 25
  • 39