Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

We have renamed our machine [Windows 2008 R2] name and it asked for restart. we did it.

But still we are able to ping the old machine name and it responds.

Strange thing is even we are able to ping the new machine name and it also responds.

[I checked that whether it is different machine or not by verifying the IP address. But IP address is same. So it should be the same machine]

How it occurs? How to make it recognize only new machine name?

If some scripts are run, our application should work even after machine rename.

But we are unable to test this as we are unsure whether machine rename takes effect.

share|improve this question

3 Answers 3

I imagine the answer for this is in your DNS records.

  1. Make sure your domain controllers have no record of the old machine name in your forward lookup zones.

  2. Make sure there is not entry in the DHCP table.

  3. Make sure the DNS entry is not locally cached, you can check if it is on a windows machine by opening command prompt and typing ipconfig /displaydns and clear it out of the list using ipconfig /flushdns. If it stays in your dns list, make sure you do not have a host file entry for this server.

share|improve this answer

This is the microsoft way to manage the name resolution:

  1. the client checks to see if the name queried is its own. Troubleshooting: in this case no, you have renamed and rebooted the machine.

  2. the dns resolver cache is used to resolve the hostname. Troubleshooting: maybe? Is the old name reloaded from a misconfigured dns?

  3. the DNS servers are queried. Troubleshooting: maybe? Have you reconfigured your DNS servers and restarted the services?

  4. the NetBios name cache is used. Troubleshooting: maybe? Is the old name reloaded from a wins server not updated?

  5. if all fail to resolve the name, the Wins server service is used. Troubleshooting: maybe? Have you restarted the wins server or waited that the name is refreshed?

  6. NetBios broadcasts from other server. Troubleshooting: no. Beccause it search for himself.

  7. the client then searches a local Hosts file, lmhosts or hosts wich is in the %Systemroot%\System32\Drivers\Etc directory. Troubleshooting: no(?).

references:

http://technet.microsoft.com/en-us/library/bb727005

http://support.microsoft.com/kb/172218/en-us?fr=1

share|improve this answer

Because there's probably a DNS A record for the old name that hasn't been scavenged yet (if you have scavenging enabled).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.