DEV Community


Posted on

Chrome://net-internals/#dns – Flush DNS Cache on Chrome

When browsing the internet, you may have encountered issues like slow loading times or being unable to access certain websites. In such cases, the problem could be related to your DNS cache. DNS (Domain Name System) is responsible for translating human-readable domain names into IP addresses that computers can understand. Chrome has a built-in feature that allows you to manage and flush the DNS cache using the chrome://net-internals/#dns URL. In this blog post, we will explore how to use this powerful tool to flush the DNS cache in Chrome and resolve common browsing issues.

Understanding DNS Cache:

Before we delve into the process of flushing the DNS cache, it's essential to understand what the DNS cache is and how it works. When you visit a website, your browser stores the IP address associated with the domain name in its DNS cache. This caching mechanism helps improve the browsing experience by reducing the time required to resolve domain names repeatedly. However, if the IP address of a website changes or if there are DNS conflicts, the cached information can become outdated or incorrect, leading to problems accessing the site.

Accessing chrome://net-internals/#dns:

To access the DNS management page in Chrome, you need to enter chrome://net-internals/#dns in the address bar. Once you hit enter, the chrome://net-internals page will open, displaying a variety of options related to network internals. The DNS tab specifically deals with DNS cache management.

Flushing the DNS Cache:

To flush the DNS cache in Chrome using the chrome://net-internals/#dns page, follow these steps:

Step 1: Open a new tab in the Chrome browser and enter chrome://net-internals/#dns in the address bar.

Step 2: Scroll down to the "DNS" section on the page.

Step 3: Click on the "Clear host cache" button. This action will flush the DNS cache and clear any outdated or incorrect entries.

Step 4: After clicking the button, you may notice a brief interruption in your internet connection. This is normal, as Chrome rebuilds the DNS cache.

Step 5: Once the process is complete, you should see a notification confirming that the host cache has been cleared.

Benefits of Flushing DNS Cache:

Flushing the DNS cache can provide several benefits, including:

Resolving browsing issues: Clearing the DNS cache helps eliminate potential conflicts or outdated information that may cause problems when accessing websites.

Faster website access: Flushing the DNS cache ensures that your browser retrieves the most up-to-date IP addresses associated with domain names. This can result in faster loading times when visiting websites.

DNS troubleshooting: By examining the DNS cache, you can identify and resolve issues related to domain name resolution. It can be particularly useful when experiencing persistent DNS-related problems.


The chrome://net-internals/#dns page in Chrome provides a convenient and straightforward method to flush the DNS cache, allowing you to resolve browsing issues and improve your internet experience. By understanding how the DNS cache works and using this tool effectively, you can ensure that your browser retrieves accurate and up-to-date information for domain name resolution. Remember to periodically flush the DNS cache to avoid potential conflicts or outdated entries.

Top comments (0)