In this guide, I have explained how to clear the DNS cache in Google Chrome. Clearing the DNS cache is necessary when you cannot access a website, which happens when the siteโs DNS entry has been changed.
The Chrome browser comes with an in-built DNS cache. DNS changes the website domain to a machine-readable form called an IP address. To access a website, browsers use the IP address to send data to the Content Delivery Network.
When DNS is missing or corrupted due to being changed or removed, the user cannot access a website until they clear the DNS cache.
What is net internals/# DNS?
chrome://net-internals/#dns is a command you enter in the URL bar of the Chrome browser to clear the DNS cache. Net-internals is a NetLog event stream visualizer.
The NetLog is a log file that maintains all the activities on the browserโs network. It is important for understanding and troubleshooting browser performance or bug issues.
Chrome DNS Cache
When you clear the Chrome DNS cache, the browserโs DNS entries are removed. The Chrome browserโs DNS Cache can store up to 1000 DNS entries.
Clearing the Chrome DNS cache will resolve DNS issues whenever you are unable to access a website or experience performance lag on the browser.
How to Clear DNS Cache on Chrome browser?
Clearing the DNS cache on the Chrome browser merely takes two steps.
- First of all, open the Chrome browser.
- In the URL bar, type
chrome://net-internals/#dns
- On the next page, click the button Clear Host Cache.
- Next, you have to restart the browser.
NOTE: When the cache is cleared, no prompt will show citing that the cache has been cleared.
How to Clear the Socket Pools on Chrome Browser?
There is another element associated with DNS called socket pools. Using the socket pool DNS server issues queries by randomizing the source port.
It is a useful concept to protect a siteโs DNS against malicious cyber attacks such as DNS poisoning.
Follow these steps to clear the socket pools on the Chrome browser.
- Open the Chrome browser.
- In the address bar enter the following command and press enter.
chrome://net-internals/#sockets
- On the next page, click on the button Flush socket pools.
- Close the browser and relaunch it.
How to Fix Chrome://net-internals/#dns not working?
While clearing the DNS cache onย the Chrome browser may seem straightforward, some users complain that theย chrome://net-internals command does not work. I have listed a few troubleshooting tips that you can follow to fix this problem.
Restart the DNS Service
Follow the steps mentioned below to restart the DNS service.
- Press Windows + R to open the Run box.
- Type services.msc in the Run box and press enter.
- Within the Services list, scroll to DNS client, right-click on it, and select Restart.
- After restarting the DNS client you also have to relaunch the browser.
Release a New IP Address
Releasing an IP address involves flushing the DNS cache and renewing the IP address. Follow these steps to carry out the fix.
- Launch the Command Prompt using Windows search.
- Enter the command mentioned below.
ipconfig/release
- The next step is to flush the DNS cache. To do so, you have to enter the following command.
ipconfig/flushdns
- After clearing the DNS cache, you must renew the clientโs IP address. Issue the following command to renew the IP address.
ipconfig/renew
Stop Using VPN
While VPN is useful in providing access to restricted websites using remote servers, it may also cause problems in clearing the DNS cache. The issue arises when VPN settings override the native network settings.
To turn it off, you just have to launch the VPN app or web browser extension and click the corresponding button.
Reset the Chrome Flags
When enabled, the Chrome flags provide experimental features on the Chrome browser. Some of these features may cause bug issues and make commands for DNS cache clearing unresponsive. Here are the steps to reset the Chrome flags.
- Open the Chrome browser.
- In the URL bar type the below lines and hit enter
chrome://flags
- Right beside the search field, click the Reset All button.
Wrapping Up
Next time you cannot access a website on the internet you know the issue may be with DNS. To solve the problem you need to clear the DNS cache using the steps mentioned in the guide. I hope this guide now clears all your doubts about Chrome //net-internals/#dns.