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 correctly view private domain traffic operations?

In 2020, as the epidemic raged, more and more com...

2018 new Android interview questions from big companies

Preface I started looking at it at the end of las...

How to effectively improve product conversion rate?

In the use process of different products, users&#...

Baidu search promotion, why are the added keywords not suitable for promotion?

Why are the keywords I added not suitable for pro...

If you always fail to complete your tasks in operations, try this trick!

Why is it that despite all our efforts, user acti...

What is eBook marketing? How to market and promote e-books?

There are many means of online promotion . We sho...

How much does it cost to make a small program?

It is estimated that many people do not know much...

Product Analysis | How does iQiyi perform operations and product optimization?

With the improvement of material level, people ha...

Notice of the 2015 China Mobile Medical Industry Forum

Based on the current mobile Internet technology, ...

Differences and comparisons between Vue and WeChat applet

After writing a Vue project and a mini program, I...

Why is the conversion rate so low?

"What would you like to drink? I want Coca-C...

2 pictures to help you understand Toutiao's recommendation system

The “predecessors” of recommendation systems In 2...