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 DNS and proxy caching server to improve performance. You can quickly clean out or flush out DNS entries manually on Google Chrome browser.
Google Chrome Clear or flush the DNS cache
The produced to flush the DNS cache on Google Chrome browser is as follows:
- Open a new tab.
- Type the url in the search box: chrome://net-internals/#dns
- Hit the “Clear host cache” button.
- And you are done as DNS is flushed out.
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“:
What is the DNS Cache?
DNS cache is a tiny data about frequently used domains and websites. The primary purpose of DNS cache is to speed up browsing, and when remote or ISP DNS servers are down, you can reach that website using Chrome DNS cache. However, when a website changes its DNS entry or due to some other faulty network condition, you need to flush out the DNS cache to reach to correct IP address on the Internet.
What exactly is DNS cache Flushing?
DNS cache flushing means getting rid of existing cached data DNS entries from Google Chrome. Once flushed, Google Chrome will ask for all the new IP addresses and DNS information for that website.
Clearing or flushing out DNS cache on MS-Windows 7/8/10
Open command prompt (Press the Windows Key > type Command Prompt > Right-click the application and select Run as Administrator)
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
🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
|Category||List of Unix and Linux commands|
|Firewall||Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04|
|Network Utilities||dig • host • ip • nmap|
|OpenVPN||CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04|
|Package Manager||apk • apt|
|Processes Management||bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time|
|Searching||grep • whereis • which|
|User Information||groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w|
|WireGuard VPN||Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04|