On a Windows PC or laptop, you more likely than not saw a webpage, that you visit frequently, is simply not stacking up, despite the fact that it is by all accounts working fine on different gadgets. All things considered, this issue arises due to the DNS Cache being degenerate.

[ad type=”banner”]

For people unaware, DNS Cache is a file that contains the hostnames and IP addresses of the websites you have visited. As the name advises, it caches the webpage, which results in the webpage loading faster the next time you open it. While most systems connected to the internet automatically update the cache and hostname, issues arise when the IP address of a webpage changes before the update and that’s when the page just fails to load up.

Note: We tested the method on Windows 10 but it should work fine on devices running Windows 8.1, 8, 7, Vista or even XP. 

Clear DNS Cache through Command Prompt

  • Right click on the Start Menu and open up “Command Prompt (Admin)“.
  • You will be prompted with a UAC (User Account Control) permission pop-up, just click on “Yes” to launch Command Prompt with administrator privileges.

How to Flush or Clear DNS Cache in Windows 10

In Command Prompt, paste the command “ipconfig /flushdns” and press Enter.

How to Flush or Clear DNS Cache in Windows 10

[ad type=”banner”]

This will flush the DNS cache and you will get a message saying “Successfully flushed the DNS Resolver Cache“.

How to Flush or Clear DNS Cache in Windows 10

The command just resets the DNS cache while removing the older cache files, which might have been causing the errors while loading a webpage.

Clear DNS Cache using Batch File

Now you can flush the DNS cache using a batch file in Windows 10. A batch file features a set of commands and you can just run to execute those commands. So, if you have a somewhat dislike towards Command Prompt, you can just download the batch file and run it to clear the DNS cache on Windows.

Other Handy DNS and IP Address Related Commands

If you are facing problems with a webpage, you can check out other commands to fix DNS Cache or IP address related problems:

  • ipconfig /displaydns: Check out the DNS record under Windows IP configuration.
  • ipconfig /release: Release your current IP address settings.
  • ipconfig /renew: Reset your IP address settings.
[ad type=”banner”]

How to Flush or Clear DNS Cache in Windows 10

Categorized in: