If Chrome is showing DNS errors, the DNS cache might be corrupted. Here’s how you can flush or clear Chrome DNS cache in Windows 10.
Google Chrome browser has a built-in DNS caching feature. This allows Chrome to quickly resolve the DNS queries and reduces the overall latency when it comes to connecting to a website. As you can guess, caching DNS is hugely helpful for faster internet experience. However, under certain circumstances like sudden power failure, the Chrome DNS cache might be corrupted. When the DNS cache in Chrome is corrupted, you will see some of the most common errors like DNS_PROBE_FINISHED_NXDOMAIN or DNS_PROBE_FINISHED_BAD_SECURE_CONFIG, etc while trying to open a website. In fact, corrupted DNS cache can completely lock you out from accessing a website in Chrome.
If that ever happens or if you are seeing DNS errors in Chrome, you can manually clear Chrome DNS cache. Once cleared, all DNS errors should be fixed instantly.
So, in this quick and simple guide, let me show the steps to clear or flush DNS cache in the Chrome browser.
How to clear Chrome DNS Cache from Settings
You can use Chrome’s Net Internals tool to flush its DNS cache. All you have to do is click a button and the cache will be cleared. Here are the steps you should follow to do that.
- Open the Chrome browser.
- Type “chrome://net-internals” in the address bar and press Enter.
- Select “DNS” on the left panel.
- Now, click on the “Clear host cache” button.
- Select “Sockets” on the left panel.
- Here, click the “Flush socket pools” button.
- Restart the Chrome browser.
When you click the buttons in the above steps, you will not see any sort of confirmation message. But, rest assured that the Chrome DNS cache is cleared. After restarting the browser, you will not see any DNS error, hopefully.
That is all. With the above steps, you’ve manually cleared the Chrome DNS cache.
To make DNS connections secure, enable DNS-over-HTTPS in Chrome.
How to clear DNS Cache in Chrome from Command Prompt
You can also clear DNS cache in Chrome via the Command Prompt. The command will delete the DNS cache system-wide too.
- Open Run window with “Win + R” shortcut.
- Type “cmd” in the blank field and click “Ok“.
- After opening the cmd prompt, type the below command and press Enter.
- As soon as you execute the command, the DNS cache will be cleared.
- Close the Command Prompt window.
With the above steps, you’ve successfully cleared the caching of DNS entries in Chrome and Windows. Though restarting the system is not necessary, doing so will ensure all the DNS entries are cleared.
That is all. I hope that helps. If you are stuck or need some help, comment below and I will try to help as much as possible. If you like this article, check out the best DNS changing software for Windows.