DNS Error in Chrome: Quick Fixes That Work
In this article
A DNS error in Chrome means your browser could not translate a website name into an address, so the page will not load. Most cases clear in under five minutes by restarting your router, flushing the DNS cache, or switching to a public DNS server.
Time 10 min · Steps 7 · Level Easy
Clear a DNS Error in 7 Steps
- Reload the page first. Press F5 or the reload arrow. Transient DNS hiccups on your network often fix themselves within a minute, so a plain reload is worth trying before anything else.
- Try another website. If other sites load, the problem is that one site's DNS, not your setup. If nothing loads anywhere, the fault is on your device, your router, or your internet provider.
- Restart your router. Unplug it, wait 30 seconds, plug it back in, and give it about 2 minutes to reconnect. This clears the router's own DNS cache and forces it to fetch fresh records from your provider.
- Flush the DNS cache on your computer. On Windows, open Command Prompt and run
ipconfig /flushdns. On macOS, open Terminal and runsudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder. Both take effect immediately. - Clear Chrome's own cache. Open Chrome, go to Settings > Privacy and security > Delete browsing data, choose Cached images and files, and delete. Chrome keeps its own DNS cache separate from the operating system's, so this catches what step 4 missed.
- Switch to a public DNS server. In your device's network settings, replace the automatic DNS with a public one such as Google DNS (8.8.8.8 and 8.8.4.4) or Cloudflare (1.1.1.1 and 1.0.0.1). This bypasses a broken DNS server at your provider.
- Test in another browser. If the site loads in a second browser but not Chrome, the issue is Chrome-specific, so return to step 5 and also try turning off extensions. If it fails everywhere, the issue is your network or the site itself.
Which DNS Error Message You See Points to the Cause
The exact wording on the error page narrows the problem down fast. Match your message to the row below before digging further.
| Message in Chrome | Likely cause | How to confirm and fix |
|---|---|---|
| "DNS_PROBE_FINISHED_NO_INTERNET" | No connection at all | Check Wi-Fi is on and the router's lights are normal; fix the connection first, DNS second. |
| "DNS_PROBE_FINISHED_NXDOMAIN" | The name does not resolve, often a stale cache or typo | Check the spelling of the address, then flush the DNS cache (step 4) and reload. |
| "DNS_PROBE_FINISHED_BAD_CONFIG" | DNS settings are wrong or hijacked | Open your network settings and check the DNS entries; set them to a public DNS pair such as 8.8.8.8 and 8.8.4.4. |
| "ERR_NAME_NOT_RESOLVED" | Device or router DNS failure | Restart the router, then flush the cache; if it persists, switch DNS servers. |
| Site loads on phone data but not Wi-Fi | Router or provider DNS | The site works, so the name is fine; change the DNS servers in the router's settings, not just the device. |
Fixing the Most Common Cause: A Stale or Broken DNS Cache
When one specific site refuses to load while the rest of the internet works, a stale DNS cache is the usual culprit, and it is also the easiest cause to rule out. Work through it in this order.
On Windows
Open the Start menu, type "cmd", and open Command Prompt. Run ipconfig /displaydns to see the cached entries, then ipconfig /flushdns to wipe them. You should see a confirmation that the resolver cache was flushed. Reload the page in Chrome immediately after.
On macOS
Open Terminal from Applications > Utilities and run sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder. You will be asked for your password; nothing prints on success. Reload the page in Chrome.
On Android
Android does not expose a flush command, but turning airplane mode on for 10 seconds and back off forces the network to re-register. For a deeper reset, long-press the Wi-Fi network in Settings > Network and choose Forget, then reconnect. Menu labels can differ slightly by version.
On iPhone
Open Settings, turn Airplane Mode on for 10 seconds, then off. If that fails, Settings > General > Transfer or Reset iPhone > Reset > Reset Network Settings clears all DNS state, though it also erases saved Wi-Fi passwords, so treat it as the last resort.
How to Tell the Fix Worked, and Keeping DNS Errors Away
A fix is confirmed only when the page fully loads in Chrome after a hard reload, not when the error page disappears on its own. Press Ctrl+Shift+R (or hold Shift and press reload) to force Chrome to fetch everything fresh; if the site appears, DNS is resolving again. Then load two or three other sites you have not visited today to confirm resolution is working generally, not just for one cached name.
To keep the problem from returning, set a reliable public DNS permanently in your router's settings rather than relying on your provider's default. Every device in the house then inherits it, and a single bad server at the provider stops taking your whole network down. Avoid browser extensions that promise to "speed up DNS" or redirect your browsing; a misbehaving extension can produce DNS errors that no amount of cache flushing will cure, and you can test for this by opening the page in Incognito mode, where extensions are off by default. If errors return only at certain times of day, note the pattern and report it to your internet provider, since intermittent DNS failures on their side are something only they can repair.
One caution worth knowing: if every fix works but the error returns within hours, and your browser keeps redirecting to search pages you did not choose, run a malware scan before changing more settings. Some unwanted software rewrites DNS settings to steer your traffic, and it will undo any fix you make until it is removed.
Official source: Google Chrome Help