NOTE: This article refers to the client portion of DNS. Do not use this information for making changes to DNS servers.
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:
- Start Registry Editor (Regedit.exe).
- Locate the MaxCacheEntryTtlLimit value under the following registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters
- On the Edit menu, click Modify. Type 1, and then click OK.
- Quit Registry Editor.
Article ID: 245437 - Last Review: Mar 15, 2008 - Revision: 1