Flush and Reset the DNS Client Resolver Cache

Applies To: Windows Server 2008

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.

Membership in Administrators, or equivalent, is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups (https://go.microsoft.com/fwlink/?LinkId=83477).

To flush and reset a client resolver cache

  • Open a command prompt. To open an elevated Command Prompt window, click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

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

    ipconfig /flushdns

Additional references