Google Chrome: Clear or flush the DNS cache

I think Google has its own dns caching system. I am getting the same old dns entry in my Google Chrome browser on both Linux and Apple OS X. How do I flush or clear the DNS cache in Google Chrome browser without compete shutting down?

Yes, Google Chrome browser has inbuilt caching server to improve performance. You can quickly clean out or flush out DNS entries manually on Google Chrome:

  1. Open a new tab.
  2. Type the url in the search box: chrome://net-internals/#dns
  3. Hit the “Clear host cache” button.
Fig.01: How to Clear Chrome Browser DNS Host Cache

You may need to flush out socket pools too:
Open a new tab and type the following in search box:
Click on the “Flush socket pools“:

Fig.02: How to Clear Chrome Browser Socket Pools

Clearing/flushing out DNS cache on MS-Windows

Open command prompt (Press the Windows Key > type Command Prompt > Right-click the application and select Run as Administrator)
ipconfig /flushdns

Clearing/flushing out DNS cache on Linux

Open the terminal and type:
sudo service network-manager restart

Clearing/flushing out DNS cache on Apple macOS

Open the terminal App and type:
sudo dscacheutil -flushcache
sudo killall -HUP mDNSResponder

(adsbygoogle = window.adsbygoogle || []).push({});

Posted by: SXI ADMIN

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.


How to KVM, QEMU start or stop virtual machine from command line (CLI)

KVM or Kernel Based Virtual Machine is a popular virtualization technology. It allows you to run virtual guest machines over a host machine. To start...

How to Docker backup Saving and restoring your volumes

Running a Docker volume backup First, we spin up a temporary container, and we mount the backup folder and the target Docker volume to this container....

How to Start and Enable Firewalld on CentOS 7

In this article, we discuss how to start and enable firewalld. It is highly recommended that you have a firewall protecting your server.Pre-Flight CheckThese...