Windows provides several different ways to clear DNS cache. Here're the simplest ways to fully flush DNS cache in Windows 10 OS.
When you type a web address in the browser, it quires the DNS to get the website's proper IP address. Without a DNS, your system will not be able to connect to a website or internet service using a domain name. To make the quires as fast as possible and streamline your internet experience, Windows caches all the DNS queries. When you open a website that you accessed earlier, Windows uses the cached entry to get the IP address. Put simply, the DNS caching reduces the overall latency and improves the peed a fair bit.
Though the cached DNS is very useful in day to day usage, it might get corrupted under certain circumstances. For example, my system recently turned off suddenly due to power issues. This corrupted the DNS cache and I could connect to most websites and web services.
To deal with that and fix corrupted DNS in Windows, you need to manually clear the DNS cache. Thankfully, it is pretty easy to do. Use one of the methods shown below to quick flush DNS cache in Windows 10.
- Command to clear Windows DNS cache
- PowerShell command to clear DNS cache in Windows
- Run command to flush DNS cache
- Use DNSJumper to clear DNS cache
Note: The steps shown below will work in Windows 7 and 8.
Command to clear Windows DNS cache
You can reset or delete DNS cache directly from the Windows Command Prompt. It is pretty simple. Here's how.
- Open the Start menu.
- Type "Command Prompt" and click on it.
- After opening the Command Prompt window, execute "ipconfig /flushdns" command.
- Close the Command Prompt window.
After executing the command, Windows will delete the DNS cache and shows the "Windows IP Configuration. Successfully flushed the DNS Resolver Cache" message. As you can see, it is pretty easy to clear the DNS cache.
PowerShell command to clear DNS cache in Windows
Windows DNS cache can be clear from the PowerShell command-line tool. You need to execute the clear DNS PowerShell command. Here's how.
- Open the Start menu.
- Search for "Windows PowerShell" and click on it.
- In the PowerShell window, execute "ipconfig /flushdns" command.
- Close the PowerShell window.
That is all. After the command is successfully executed, the DNS cache will be deleted from the Windows OS. As a confirmation, you will see the "Windows IP Configuration. Successfully flushed the DNS Resolver Cache." message.
Run command to flush DNS cache
The run command allows you to delete DNS cache without opening a command-line tool like the Command Prompt or PowerShell. Here's how.
- Open the Run window by pressing the "Win + R" keyboard shortcut.
- Type "ipconfig /flushdns" and click "Ok".
- The DNS cache will be cleared instantly.
Unlike with the Command Prompt or PowerShell method, the Run window will no show any confirmation message. That being said, you can rest assured that the command successfully cleared the Windows DNS cache.
Use DNSJumper to clear DNS cache
If you don't want to use commands, you can use a simple and free application called DNSJumper to delete and reset the DNS cache. Here's how.
- First, get DNSJumper from here.
- After downloading, open the ZIP file and extract the folder in it to your desktop.
- Open the extracted folder.
- Double-click on the "DNSJumper.exe" file.
- Now, click on the "Flush DNS" button.
- Close the application.
As soon as you click the button, DNSJumper will clear Windows DNS entries.
The best thing about the application is that it allows you to change the DNS service to anything you want. If you find the ISP provided DNS service inadequate, use one of the services listed in DSNJumper for faster DNS resolution and better security. Personally, I use Cloudflare DNS or Google Public DNS.
That's all there is to it. When you want to flush Windows 10 DNS cache, use any of the above methods. You will be done in no time.
I hope that helps. If you are stuck or need some help, comment below and I will try to help as much as possible. Also, if you want to, you can change DNS in Windows for better and faster internet. Here're are some of the best DNS changer programs for Windows.