Windows – How to refresh a Host record? Win 2008 Server DNS

domain-name-systemwindows

I have created a host entry. I recently needed to change the IP of the host entry, however some clients in the domain are still looking at the old ip of the host…

How can I cause a network wide refresh?

Am I correct to assume DNS entries are cached client side and a DNS flush per client might be required?

Best Answer

This information is held in the DNS cache on the client. If the client has already resolved the name to IP address it is more efficient to pull the data from the cache than to query DNS each time.

On an individual workstation you would use the command ipconfig /flushdns to empty the cache and force fresh DNS lookups. The default time an entry will stay in the cache is 1 day. http://support.microsoft.com/kb/318803/en-us. It might be eaiser to have clients with the old IP address run the /flushdns command rather than rig something to clear the cache domain-wide.