Do you want to clear your browser’s DNS cache? Well, check out this tutorial on how to clear DNS cache in Chrome, Firefox, and Edge.
One of the tools that you use daily and at all times are web browsers to access multiple sites, and regardless of the type of browser you use, these include a series of settings that have been developed to optimize their use.
The most used browsers are Google Chrome, Firefox & Edge due to their various features and functionalities and, like all browsers, they include a DNS cache that allows us to access popular sites more quickly. As you visit hundreds or maybe thousands of websites, little by little this cache fills up, resulting in some specific site access problems.
That is why today, I will show you the steps to clear the DNS cache in Chrome, Firefox & Edge, and in this way, solve various errors associated with this aspect.
Content [ Hide ]
- 1What is the DNS cache?
- 2Clear DNS cache in Chrome
- 3Clear DNS cache in Firefox
- 4Clear DNS cache in Edge
What is the DNS cache?
DNS cache in web browsers helps you get better performance when accessing the intneret. This is because the DNS cache reduces the number of requests your computer needs to make to the servers, speeding up your browsing.
The DNS cache is basically a file where all the most common websites and the IPs of your servers are stored to access them quickly next time.
But why do you want to clear your DNS cache if it helps you browse faster? Some of the reasons could be the following:
- You have changed the DNS servers on your network adapter, and to apply those settings, you must clear your browser’s DNS cache.
- When some website changes its server from where the page is loaded, you may encounter some connection errors because your DNS cache tries to connect to the old server. In that case, clearing the DNS cache will help you fix the problem.
- You see various errors in your browser that some common websites like Facebook and Google are not trustworthy. A quick clean might help you with that, too.
Related How to Make Google My Home Page in Windows 10
Now you will see how to clear DNS cache in Google Chrome, Firefox, and Edge, and this process applies to Google Chrome on Windows, macOS, or Linux.
Clear DNS cache in Chrome
- The first thing to do to clear the DNS cache in Google Chrome is to open the browser.
- Once inside the browser, open a new blank tab and in the address bar type: chrome://net-internals/#dns
- Once the page loads successfully, you will see a button that you need to click ( Clear Host Cache) to clear all DNS cache stored in Chrome browser.
- Once this is done, you will have cleared the entire DNS cache of your Google Chrome browser. If you have tabs open, it is likely that to clear the entire DNS cache, you will also have to clear the connections established by Google Chrome. To clean the connections, you must open this in the address bar:chrome://net-internals/#sockets
- There you need to click on Close inactive sockets button and also on Flush socket pools as you can see below:
Clear DNS cache in Firefox
In the case of Firefox, you will have to change some main settings because this browser does not have a button that allows you to clear the DNS.
- Open the Firefox browser and navigate to the following page in the address bar: about:config
- Click I accept the risk
- Now you will see several things, do a quick search for the following term: network.dnsCacheExpiration
- Once you find it, right click and choose modify. There, instead of 60, write 0.
- Finally, clear the browser cache in Options in the Privacy and Security section. Later, restart Firefox
Clear DNS cache in Edge
To clear DNS cache in Edge, you can directly flush DNS in Windows 10. To do so, follow these steps:
- You will need to open the Run dialog box by pressing the Win + R keys
- Once open, copy this command and hit Enter: ipconfig /flushdns
- The command prompt will open and automatically flush the DNS cache in Windows 10. You can then try to access Microsoft Edge to verify that the DNS has been cleared.
As easy as that, you can clear the DNS cache in popular browsers like Google Chrome, Mozilla Firefox, and Microsoft Edge.