Google Chrome Tip: How To Clear and Flush the DNS Cache

To get a better internet access performance, Google actually built a caching system not in Chrome not only for the site content but for DNS as well. So if flushing out DNS cache on your operating system didn’t work out, clearing up Chrome’s own cache should be your next step to try. And here is

How to flush out the DNS cache in Chrome

Open a new tab in Chrome and head over to the following address:

chrome://net-internals/#dns

It opens up DNS page in Chrome’s built-in network monitoring tool, from which you will find a button called “Clear host cache“. Simply click that button and it will wipe out all cached DNS data in Chrome. You can click more than once just to make sure it does what it was supposed to.

Depending on the result, you may need to clean up the Sockets cache as well. Go to the following page and click Flush socket pools button to clear it out.

chrome://net-internals/#sockets

Alternatively, you can also use the drop-down menu at the top right corner of the red bar. Click on it and run both options until Tools.

How to flush out DNS cache on Windows

Open a Command Prompt window in Windows and run the following command.

ipconfig /flushdns

You will see the following message if the command runs successfully.

You can double-check to make sure you have nothing left in DNS cache by running the following command.

ipconfig /displaydns

The command works on pretty much all Windows versions, from XP to Windows 10.

How to flush out DNS cache on Linux

Open a terminal window and run the following command:

sudo service network-manager restart

How to flush out DNS cache on macOS

Open the Terminal app and run the following command:

sudo dscacheutil -flushcache
sudo killall -HUP mDNSResponder

Leave a Reply

Your email address will not be published. Required fields are marked *