If you experience any DNS or host error related browsing issues, it can sometimes help to perform a DNS and Socket flush using your Google Chrome browser.
Flushing this DNS cache can be a useful tool to resolve any host connection errors that may be experienced when browsing the internet. It is very simple to do and can be done directly in Chrome or from an Elevated Command Prompt window in Windows 7 through 10.
So what is the DNS Cache?
The browser’s DNS Cache (Domain Name System) is essentially a small database that retains the IP (Internet Protocol) addresses for websites that have been accessed. The main purpose of this is to make it easier for the computer to reach and access the IP addresses of websites when their servers change or if they create new servers.
When an IP address becomes outdated or if a website switches to a new server (which can happen for many reasons), you may encounter DNS errors when trying to access them. Sometimes, due to continued use and accessing sites with a low web safety rating, the DNS cache may also become corrupted.
What is Flushing?
A DNS flush will instruct the computer to erase all existing data regarding DNS names and IP addresses that are stored. After you perform a flush, the next time a website is accessed, the computer will populate the new IP and DNS information related to that site (from the server) resulting in an error free browsing experience.
In order to fix these problems, follow these simple steps.
Begin by opening Google Chrome and type in this address:
followed by enter
To flush your Google Chrome browser’s DNS cache, locate the button “Clear Host Cache” and click it. Once done you will note that the number of active entries has reduced to 0 and that the list of websites accessed has been cleared.
The next step will be to flush all the Sockets by navigating to
or by clicking on the drop-down menu on the top left of the screen and selecting “Sockets.”
Once you have arrived at the sockets page, you will need to click on both options available to you to flush them all.
First, “Close Idle Sockets”
then “Flush Socket Pools.”
Flush DNS with Windows 7 and 8
Begin by starting an Elevated Command Prompt. The Elevated Command Prompt is distinguishable from a regular command prompt window because the name on the top left of the window will read “Administrator: Command Prompt.”
In the Elevated Command Prompt it is as simple as typing
into CMD and pressing “Enter.” If you were successful, you will see the message shown in the image below.
If you want to manually verify that your computer’s DNS cache was flushed, type in this command:
and press “Enter.”
You can now exit your command prompt window and resume browsing the Internet without the risk of a DNS error, since every site you access will show up as a new entry in your Cache.
Any previous errors caused by this are now resolved!