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.
This will remove the database of IP addresses that are stored on the computer.
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.