How to Clear DNS Cache

Clearing your DNS cache can improve website loading times and resolve issues that prevent access to specific websites. Cached DNS entries can be cleared using the Windows Command Prompt.

Step

Press Win-C to open the Charms Bar and type cmd into the Search bar. Right-click the Command Prompt icon and select Run as Administrator.

Run as Administrator
Command Prompt must be run as administrator to successfully clear cache.
credit: Microsoft
IPConfig
Each menu item is a cached DNS entry
credit: Microsoft

Step

Type ipconfig /displaydns in the Command Prompt window to view list of DNS entries stored in cache.

Command Prompt
Windows Command Prompt is a powerful troubleshooting tool.
credit: Microsoft

Step

Type ipconfig /flushdns to clear cache. Wait for the message "Successfully flushed the DNS Resolver Cache" to display. This can take several seconds, depending on the size of the cache.

Step

Type ipconfig /displaydns once more to confirm that cached DNS entries are no longer listed.