How to Clear Google Chrome DNS Cache Manually

How to Clear Google Chrome DNS Cache Manually

In order to obtain better Internet access performance, Google Chrome has a built-in cache system that can be used to cache not only website content but also DNS records. Chrome's built-in DNS cache system has a hidden option that allows users to manually clear the Chrome DNS host cache. Flushing the DNS cache can help users fix host connection problems that may occur when accessing certain web pages.

When the operating system's DNS settings have been changed, manually flushing the Chrome DNS cache may be helpful, as clearing just the operating system's DNS cache may not necessarily fix Chrome's connection issues.

[[206078]]

The browser DNS cache is usually used to store a database of server IP addresses corresponding to the domain name of each website you visit. This small database can essentially speed up access to websites. However, when a website changes its new IP address, you will encounter access errors when accessing it through the IP in the Chrome DNS cache. In this case, refreshing and clearing the Chrome DNS cache can help resolve connection errors.

How to Clear Chrome DNS Cache

The following DNS flushing steps work in all versions of Chrome, whether Windows, Linux, or macOS.

1. Launch Google Chrome and press Ctrl + L to move the cursor to the URL bar. Execute the following URL in the address bar:

  1. chrome://net-internals/#dns

2. The Chrome DNS cache page will open. Here you can see that my system currently has 24 valid DNS cache active items and a long list of DNS cache databases. Click the "Clear host cache" button to completely clear all Chrome DNS cache records.

3. Check whether the number of "active entries" has been reduced to 0.

4. Depending on the results, you may also need to refresh the socket cache. Execute the following URL to access the sockets page:

  1. chrome://net-internals/#sockets

Click the “Flush pocket pools” button to clear Chrome’s socket pool.

How to flush the operating system's DNS cache

  • Windows: Run the ipconfig /flushdns command in the CMD command line to clear the DNS cache. You can also use PowerShell to view the Windows client DNS cache records.
  • Linux: Ubuntu/Debian/Mint Clear DNS cache.
  • macOS: You can run the sudo dscacheutil -flushcache command in Terminal to clear the DNS cache.

<<:  How to use the first 7 seconds to make users decide to download your app?

>>:  Summary of search function design, designers please take a look

Recommend

How to write code that others can understand

With the continuous development of the software i...

APP promotion: How to choose the correct promotion channel!

In 2019, all network marketers are facing the fol...

Want your baby to grow taller? Huaxi experts suggest: Do these 3 things!

Baby's height This has always been a concern ...

How to monetize short videos? Here are 7 ways

In recent years, short videos have been very popu...

4,200 years ago, Chinese ancestors were already driving cars?

The Pingliangtai Site in Huaiyang was selected as...