Flush DNS Cache in Windows 11 (2021)
If you’re experiencing connectivity points even after deleting the momentary information and clearing the app cache in your Windows 11 pc, the underlying drawback is perhaps with the way in which the community is configured. To right it, you’ll have to flush the DNS resolver settings in your pc. Best apply dictates that you simply additionally restart your modem and router to filter all cached DNS settings. With that stated, let’s get began:
Note: This tutorial focuses on flushing DNS cache in Windows 11. For different platforms, try tips on how to flush DNS cache in Android and clear DNS cache on macOS units.
What is DNS Cache and Why Should You Care?
DNS cache is a file that features the hostnames and IP addresses of the web sites you could have visited in your pc. As the title suggests, it caches the webpage, which ends up in the location loading sooner the following time you open it. The caches are positioned within the consumer pc, in addition to within the servers of the ISP (Internet Service Provider).
While most programs related to the web routinely replace the cache and hostname, issues come up when the IP tackle of a webpage adjustments earlier than the replace. That’s when you may have connectivity points, with the web page failing to load in your browser. Flushing the DNS cache removes all of the saved (cached) info, which forces the pc to retrieve related new knowledge reasonably than serving up previous and out of date knowledge.
Steps to Flush DNS Cache in Windows 11
Note: This information solely offers with clearing your DNS cache. To change your DNS service supplier, try our detailed tutorials on tips on how to change DNS settings on Windows.
Method 1: Using Command Prompt
- First, open a Command Prompt window in Admin mode. To try this, seek for “cmd” (with out quotes) within the Windows search bar and choose Run as Administrator.
- Now, copy + paste the next command:
ipconfig /flushdnsand press Enter to flush the DNS cache in your Windows 11 pc. You will get a message saying the operation is profitable.
Method 2: Using Windows PowerShell
Another strategy to flush the DNS cache on Windows 11 PCs is by utilizing PowerShell. Here’s the way you try this:
- Open Windows PowerShell in Admin mode in your Windows PC. To try this, seek for “powershell” within the Windows search bar and click on Run as administrator.
- In the PowerShell window, copy + paste the next command and press Enter:
Clear-DnsClientCache. This will clear the DNS cache of your Windows 11 pc immediately.
Method 3: Using a Run Command
You can even clear the DNS cache straight from the Run dialog field with out opening both the Command Prompt or PowerShell. This might be the best strategy to clear DNS cache on Windows pc, and right here’s the way it works:
- Open the Run field by utilizing the Windows 11 keyboard shortcut Windows key + R. Now, kind the next command:
ipconfig /flushdnsand hit Enter. This will flush the DNS cache in your Windows 11 pc.
Method 4: Using a Batch File
Finally, in case you would reasonably automate the method of flushing the DNS cache in your Windows PC, you may create and use a batch file for the aim. So, obtain this batch file and run it to clear the DNS cache in Windows 11.
A batch file, in case you’re unaware, features a set of instructions and you may simply run the file at scheduled intervals or on-demand to execute these instructions. To know extra, try our detailed article on batch information and tips on how to use them to automate duties on Windows.
Clear DNS Cache in Chrome
Some Windows apps, together with Google Chrome, have DNS caches of their very own. It is separate from the DNS cache saved by your working system. In these circumstances, you’ll have to clear the DNS Cache of those purposes as nicely. For Google Chrome, that is the way you do it:
- First, open Google Chrome in your pc. Now copy + paste the next URL within the browser’s tackle bar:
chrome://net-internals/#dnsand hit Enter. It will load the DNS tab of Chrome’s “net internals” web page. Here, click on on the “Clear host cache” button to clear up Chrome’s DNS resolver cache.
Flush DNS Cache to Solve Connectivity Issues in Windows 11
Flushing DNS cache might sound like a ton of tech jargon, but it surely’s a straightforward endeavor, as you now know. There are a number of methods to flush the DNS cache in Windows 11 PCs, together with utilizing the Command Prompt, the PowerShell, and the Run command. So go forward, flush the cached DNS knowledge in your Windows 11 pc to repair any underlying connectivity points and enhance your privateness. Once you try this, try a few of our different DNS-related articles, together with the very best DNS servers you should utilize and the distinction between VPN and DNS.