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 1: Open Command Prompt as Administrator

Command Prompt must be run as administrator to successfully clear cache.
Credit: Microsoft

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.

Step 2: View Cached DNS Entries

Each menu item is a cached DNS entry
Credit: Microsoft

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

Step 3: Clear DNS Cache

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

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 4: Confirm Cached DNS Entries Are Removed

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

references