How to Fix DNS Error or Host Error on Google Chrome

How to Fix DNS Error or Host Error on Google Chrome

Chrome Keeps Crashing Windows 10

Using Elevated Command Prompt

The Domain Name System or DNS stores the IP addresses of the websites you access on Google Chrome. Clearing the DNS cache of Chrome browser can troubleshoot host connection errors that pop up while surfing the web on Windows PC. Such Google Chrome errors may include ERR_TIMED_OUT or errors of similar kind.

The objective of DNS is to enable the PC to access the Internet Protocol addresses of the websites, especially when IP’s servers change. If you come across a host error or DNS error while browsing on Google Chrome, it necessitates clearing the DNS cache to resolve the error. There are two ways to clear it, one through Google Chrome settings and another using the Command Prompt on Windows PC.

Chrome Settings Method

This will remove the database of IP addresses that are stored on the computer.

  • Launch Google Chrome, key in chrome://net-internals/#dns in the search box, and Enter.
  • Click on an icon denoted by a drop down arrow to the upper-right
  • Click Clear Cache option from the drop-down list and click Flush Sockets.
  • Restart Chrome after that to see if it resolves the host error on the browser.

Using Elevated Command Prompt

Chrome Constantly Crashing

Chrome Settings Method

If you are on Windows 7 PC, click Start and enter cmd in the search bar. Then, right-click on the icon of Command Prompt and choose Run as Administrator. Once command prompt with administrator privileges reveals itself on the PC, enter ipconfig /flushdns in the dialog box and press Enter. If you typed the command promptly, you might see Successfully Flushed the DNS Resolver Cache message under Windows IP Configuration.

In order to confirm the same, type ipconfig/displaydns command and press Enter. Make sure the message displayed on command prompt now reads Could Not Display the DNS Resolver Cache, which indicates that there is nothing left in the DNS cache of Chrome and that the first flush was indeed successful.

Further, with Chrome open, use Alt and Tab keys to switch windows back to Command Prompt and enter ipconfig/displaydns once again. You will see a list of the IP address stored in the new cache of DNS. Now, you can exit the Command Prompt window and surf the web on Chrome without running the risk of encountering the host error.

About the author

Admin administrator

Leave a Reply