How to clear the Windows DNS cache

Updated July 2024: Stop getting error messages and slow down your system with our optimization tool. Get it now at this link
  1. Download and install the repair tool here.
  2. Let it scan your computer.
  3. The tool will then repair your computer.

Problems with your Internet connection? DNS cache corrupted? Are you facing DNS problems or DNS problems? You may need to clear the Windows DNS cache . If your computer has trouble reaching a particular web site or server, the problem may be due to a corrupted local DNS cache. Sometimes bad results are cached, perhaps because of DNS cache poisoning and spoofing, and must therefore be cached for your Windows computer to communicate properly with the host.

Typically, there are 3 types of caches in Windows that you can easily empty:

  1. Memory cache
  2. DNS cache
  3. Thumbnail cache

Deleting the memory cache can free up system memory, while deleting the thumbnail cache can free up space on your hard disk. Clearing the DNS cache can solve your Internet connection problem. This allows you to clear the DNS cache under Windows 8 or Windows 7.

Clear Windows DNS cache

You must open an administrative command prompt. In Windows 8, to do this, press Win+C in combination to call the’Charms Bar’. Enter in the search field. Then right-click and select’Run as administrator’. Alternatively, you can open a high command prompt from the WinX menu.

Then enter the following and press Enter:


You should see a confirmation dialog box :

Windows IP configuration. The DNS resolver cache has been successfully cleared.

If you want to confirm that the DNS cache has been cleared, you can enter the following command and press Enter:

ipconfig /displaydns

This displays the DNS cache entries, if any.

To disable DNS caching for a specific session, type and press Enter.

To enable DNS caching, type and press Enter.

Of course, DNC caching is always enabled when the computer restarts.

Disable DNS cache

July 2024 Update:

You can now prevent PC problems by using this tool, such as protecting you against file loss and malware. Additionally it is a great way to optimize your computer for maximum performance. The program fixes common errors that might occur on Windows systems with ease - no need for hours of troubleshooting when you have the perfect solution at your fingertips:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.


If you want to disable the DNS cache for any reason, enter the services in the start search and press Enter to open the Service Manager. Here you will find the DNS customer service.

(1)) stores the Domain Name System (DNS) names and records the full computer name for that computer. If the service is stopped, the DNS names continue to be resolved. However, DNS name query results are not cached and the computer name is not saved. If the service is disabled, not all services that explicitly depend on it are started.

Double-click to open the Properties field. Change the start type from Manual to Off. If you disable DNS customer service, the DNS search may take longer.

Expert Tip: This repair tool scans the repositories and replaces corrupt or missing files if none of these methods have worked. It works well in most cases where the problem is due to system corruption. This tool will also optimize your system to maximize performance. It can be downloaded by Clicking Here

Related Video