Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
How to Disable Client-Side DNS Caching in Windows
Article ID: 245437 - View products that this article applies to.
This article was previously published under Q245437
Windows contains a client-side Domain Name System (DNS) cache. The client-side DNS caching may generate a false impression that DNS "round robin" is not taking place from the DNS server to the Windows client. Pinging the same A-record domain name may result in the client using the same IP address. This behavior is different from previous Microsoft operating systems.
NOTE: This article refers to the client portion of DNS. Do not use this information for making changes to DNS servers.
The actual DNS request is being sent to the local DNS cache. If the entry is listed there, Windows uses the entry and does not make the request to the DNS server. After the entry has timed out (based on its Time to Live, or TTL value), it is cleared from the local DNS cache. The next attempt sends the request to the DNS server.
To view the DNS cache, type ipconfig /displaydns at a command prompt.
To delete the entries in the DNS cache, type ipconfig /flushdns at a command prompt.
To Disable Client-Side DNS CachingImportant This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/322756/ )How to back up and restore the registry in Windows