DNS returns same address for two different device names

I'm trying to solve a DNS problem. I've changed the name and IPs of the devices. I have two devices in my network. One is named, "device 1" the other is named "device 2". When I ping "device 1" I get a reply of If I ping "device 2" I also get an address of I've cleared the dns cache on my machine and I've removed the dns entry for "device 2". The only entry in DNS is "device 1" which is mapped to Please help me resolve the problem why device 2 returns the address of device 1.

I can ping the address from my local device but can't ping it from the dns server.
Who is Participating?
Hypercat (Deb)Connect With a Mentor Commented:
On your local workstation, run ipconfig /flushdns and then ipconfig /registerdns.  See if you still get the same results when you try to ping device 2.
catonthecouchproductionsAuthor Commented:
I did that and I still get the reply of
Chris DentConnect With a Mentor PowerShell DeveloperCommented:

Do you have WINS? If so, it's possible it is getting an answer from there if the record doesn't exist in DNS. Does "nslookup device1" reply with Or only Ping?

MariusSunchaserConnect With a Mentor Commented:
Check the hosts file on the local machine. I bet you have an entry there with the old name and IP.
catonthecouchproductionsAuthor Commented:
I think the issue might be resolved. I came into work today and tried to ping device 1 and it didn't work. Device 2 still returns the correct address. Not sure what the issue was but thank you everyone for the help.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.