How to Fix Resolving Host Problem in Google Chrome?
Sometimes you may experience particular sites are started loading very slowly in your Google Chrome browser. If you notice the “Resolving Host” message displayed in Chrome browser’s status bar during loading of the site then this may be the root cause for the delay. This also causes the site loaded in a scrambled manner without proper links. The subject site may not load properly with Firefox and Internet Explorer also.
Why it Happens?
The technical reason for this issue is that the DNS servers configured by your Internet Service Provider (ISP) takes long time to find a mapping IP address for the host name you entered like http://www.example.com. This is probably due to change in ISP or change in DNS settings by your ISP. Sometimes the DNS cache stored in your local computer or Chrome browser may also cause delay in finding the correct IP address of the site. Directly opening the IP address in browser’s address bar will skip the entire resolving host process, for instance enter 18.104.22.168 instead of apple.com. Learn more about resolving host or domain name here.
Since it is practically not possible to remember IP addresses of all the sites and one site may have multiple IP addresses or one IP is assigned to multiple site in shared hosting scenario, it is necessary to solve the issue. Here is the list of possible solutions explained in step by step for fixing the resolving host issue. (Network setting changes are explained for Windows users, the same can be followed in Mac with appropriate changes).
How to Fix Resolving Host Issue?
Depending on the root cause of the issue one of the below solutions should fix the resolving host issue:
- Change your DNS servers to public DNS servers
- Clear DNS cache of Chrome browser
- Clear DNS cache of your local PC or Mac
- Disable DNS prefetching or prediction on Chrome
- Change LAN settings
- Modifying Hosts File
- IP conflict due to multiple computers connected to the same wireless router
- Contacting your Internet Service Provider (ISP)
Each option is discussed detail in the following sections.
Option 1 – Change to Public DNS
Changing the DNS servers in your network settings is the straight forward way of fixing this issue. You can use any of the public DNS servers available in the net. Since all your internet activities will be routed through the DNS servers for resolving domains, only use known and reliable server address and avoid using unknown free server details for security reasons.
Here we used the IP addresses of Google’s public DNS servers for Preferred DNS server as 22.214.171.124 and Alternate DNS server as 126.96.36.199 for TCP/IPv4 as shown in the picture below.
Close all your Chrome browser windows and reopen the browser. Now try opening your website which should open fast without showing any “Resolving host” message in the status bar. All sites will be loaded comparatively faster than before and you can open the sites properly in Firefox and Internet explorer also.
Option 2 – Clearing DNS Cache of Google Chrome
Chrome uses DNS caching to facilitate fast loading of sites by mapping the IP addresses from cache when the same domain is opened repeatedly. If the IP address of the site is changed then the DNS caching of Chrome may cause delay in loading the site due to difference in IPs.
- Go to the URL “chrome://net-internals/#dns” in your Chrome browser.
- Click “Clear host cache” button in “Host resolver cache” section or select “Clear cache” option from the drop-down.
If you are using very old version of Chrome browser then you can also try disabling “Built-in Asynchronous DNS” flag by following the below instructions. (This option will not be available on latest Chrome version).
- Go to URL “chrome://flags/”.
- Press Ctrl+F in Windows or Command+F in Mac and search for “asynchronous”.
- Select “Disable” from drop-down.
- Click on “Relaunch Now” button for your changes to take effect.
Option 3 – Clearing Cache of Local PC or Mac
Besides Chrome browser, your local PC or Mac also uses DNS caching to enable fast loading of repeat domain names searched.
- If you use Windows, open the “Command Prompt” and enter the command “ipconfig /flushdns” and you will see a success message. Press “Windows key + R” and enter “cmd” to open command prompt in Windows XP/Vista/7. Use power user options by pressing “Windows key + X” to access command prompt in Windows 8/10.
- If you use Mac, open “Terminal” application from “Utilities”, enter the command “dscacheutil -flushcache” and you will not see any success message. If you use OS X version 10.5.1 and below then use the command “lookupd -flushcache” for clearing the DNS cache.
Option 4 – Disabling DNS Prediction or Prefetching
If the issue is not resolved after changing to public DNS servers or clearing the cache as explained above then you can try the following option.
Open the Chrome browser window and click on the “Settings” icon shown in the upper right corner. Select “Settings” option as shown in the picture beside.
Then click on “Show Advanced Settings” link.
Go to “Privacy” section and uncheck the option “Use a prediction service to load pages more quickly” as shown in the below picture. Restart your browser and check the site is loading properly.
Basically Chrome try to resolve all IP addresses of the links on a webpage. Though this is intended to improve the loading speed while you read the content on that page, this may negatively impact depending on the number and types of links. Note this option may be different on different versions of Chrome like “Predict network actions to improve page load performance” or similar to that.
Option 5 – Changing LAN Settings
If you see a “Resolving proxy” message in the status bar it might be due to your LAN settings. As explained in the option 4, open Chrome’s settings and click on the “Show advanced settings…” link. Navigate to “Network” section and click on “Change proxy settings…” button.
Go to “Connections” tab and click on “LAN settings” button as shown in the picture beside.
Uncheck the box “Automatically detect settings” if already checked and restart your browser.
Option 6 – Modifying Hosts File
Hosts file is located in local PC or Mac and controls the resolution of a domain name to an IP address before any other DNS resolution takes place. Adding IP and the corresponding domain name entries in hosts file helps to overcome resolving host issue since the IP will be directly obtained from the hosts file without looking further. This will be useful to faster few frequently visited sites but it is really hard to maintain the IP address of each site you visit in the hosts file.
Option 7 – IP Conflict
The last option is to restart your computer or restart the internet connection by disconnecting the modem power and connecting it again. Nowadays it is a common scenario in a house having laptop, iPhone or iPad and all are connected to the same router. You may notice a Windows system error showing an IP conflict message in your taskbar’s tray as shown in the below picture.
Though it may not cause resolving host issue it will interrupt your internet connection and delay the loading of sites. Restarting your modem or computer will resolve this IP conflict issue.
Option 8 – Contact Your ISP
If none of the above mentioned solutions at browser, computer and router level work for you then discuss the issue with your ISP along with the URLs of the sites you are trying to access. Your ISP can confirm they are not blocking those sites, provide alternate DNS servers or change configuration settings at their side to overcome resolving host issue.