Last updated: 2023-01-29
Source: https://support.freshdesk.com/support/solutions/articles/50000005674-steps-to-clear-local-and-browser-dns-cache
Steps to clear the Browser DNS Cache (Browser Specific):
Chrome:
Launch chrome browserType _chrome://net-internals/#dns_ in the address bar, then press Enter.Click on _Clear host cache_ buttonChrome Browser DNS cache will be clearedOpera:
Launch Opera on your ComputerType _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.Firefox:
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):
Windows OS:
Search for _command prompt_ in start menuRight-click and Select "Run as administrator"Type the command```generic
```
Generic
If the command succeeds, you will receive the following message “ _Successfully flushed the DNS Resolver Cache._"Mac OS:
Open your command line interface or TerminalType the below command```generic
```
Generic
You may need to enter your administrator passwordIf the command succeeds the system will not return any output.