How to Flush or Clear DNS Cache in Windows 10
On a Windows PC or laptop, you must have noticed a webpage, that you visit often, is just not loading up, even though it seems to be working fine on other devices. Well, this problem arises due to the DNS Cache being corrupt.
For people unaware, DNS Cache is a file that includes the hostnames and IP addresses of the websites you have visited. As the name suggests, 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, problems arise when the IP address of a webpage changes before the update and that’s when the page just fails to load up. Thankfully,there are easy ways to flush or clear DNS cache in Windows 10:
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 Via Command Prompt
-
First up,right click on the Start Menuand 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.
-
In Command Prompt, paste the command “ipconfig /flushdns” andpress Enter.
-
This will flush the DNS cache and you will get a message saying “Successfully flushed the DNS Resolver Cache“.
That’s it, 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
You can even 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 justdownload the batch fileandrun itto clear the DNS cache on Windows.
Other Handy DNS and IP Address Related Commands
If you are still facing issues with a webpage, you can check out other commands to fix DNS Cache or IP address related problems:
SEE ALSO:How to Reset and Flush DNS Cache in macOS Sierra
Clear or Flush DNS Cache in Windows 10 to Fix Webpages Not Loading
Well, that was easy, right? You can just run a command or a batch file and you are good to go. The webpages should start loading fine once you have reset the DNS cache. If you are still facing problems or have any otherproblems that arise due to DNS, do let us know in the comments section below.
Rupesh Sinha
Rupesh is a section editor here and one of the hosts at our YouTube channel. A long time mobile lover and technology aficionado, he loves to indulge in all things technology! In his free time (which is non-existent), he loves watching Westworld, Silicon Valley, and Game of Thrones, obviously.
Add new comment
Name
Email ID
Δ