Flush and reset a client resolver cache

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

You can use the ipconfig /flushdns command to flush and reset the contents of the Domain Name System (DNS) client resolver cache. During DNS troubleshooting, if necessary, you can use this procedure to discard negative cache entries from the cache, as well as any other dynamically added entries.

Resetting the cache does not eliminate entries that are preloaded from the local Hosts file. To eliminate those entries from the cache, remove them from this file.

To flush and reset a client resolver cache

  • At a command prompt, type the following command, and then press ENTER:

    ipconfig /flushdns