Steps to Clear Local and Browser DNS cache
Modified on: Sun, 29 Jan, 2023 at 2:53 PM
Steps to clear the Browser DNS Cache (Browser Specific):
- Launch chrome browser
- Type chrome://net-internals/#dns in the address bar, then press Enter.
- Click on Clear host cache button
- Chrome Browser DNS cache will be cleared
- Launch Opera on your Computer
- Type opera://net-internals/#dns in the address bar, then press Enter.
- You’ll be taken to the DNS section of Opera’s internal settings page.
- Click the button labelled Clear Host Cache to flush the DNS cache.
- Open a new tab, then type in the address opera://net-internals/#sockets and press Enter.
- You’ll be taken to the section of Opera’s internal settings page for cached socket pools.
- Now click the button labelled Flush Socket Pools.
- Now restart Opera browser.
- Launch Firefox on your Computer.
- In the address bar, type about:config and press Enter.
- Click “I accept the risk!” on a warning page.
- Use the search field at the top to search for network.dnsCacheExpiration.
- Your search should return two variables, named network.dnsCacheExpiration and network.dnsCacheExpirationGracePeriod.
- Double-click on each variable’s value part so you can edit it, then change the value from the default 60 to 0, which will prompt Firefox to immediately clear out its DNS cache.
- After doing this, now set both variables back to 60.
- Now restart the Firefox browser.
Steps to clear the Local DNS cache (OS Specific):
- Search for command prompt in start menu
- Right-click and Select "Run as administrator"
- Type the command
- If the command succeeds, you will receive the following message “Successfully flushed the DNS Resolver Cache."
- Open your command line interface or Terminal
- Type the below command
sudo killall -HUP mDNSResponder
- You may need to enter your administrator password
- If the command succeeds the system will not return any output.
Did you find it helpful?
Sorry we couldn't be helpful. Help us improve this article with your feedback.