Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

DNS Error in Your Browser: Causes and Fixes

· 5 min read · Home Networking

In this article
  1. Fixing the Most Common DNS Error: Flush the Cache and Restart the Connection
  2. Which DNS Error Message Are You Actually Seeing?
  3. Quick Checks Before You Change Any Settings
  4. Keeping DNS Errors From Coming Back

A DNS error in your browser means your device could not translate a website name into the server address it needs to load the page. Most cases are fixed by flushing the DNS cache, switching to a different DNS server, or restarting your router.

Time 15 min · Steps 6 · Level Easy

Fixing the Most Common DNS Error: Flush the Cache and Restart the Connection

  1. Reload the page first. Press the reload button or F5. Transient DNS hiccups on your network often clear on their own within a minute, so rule this out before changing anything.
  2. Check whether the problem is one site or all sites. Try two or three different websites. If only one fails, the fault is usually on that site's side and there is nothing to fix locally; if all fail, continue with the steps below.
  3. Flush your device's DNS cache. On Windows, open Command Prompt and run ipconfig /flushdns. On macOS, open Terminal and run sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder. On Android, simply toggle airplane mode on and off; on iPhone, toggle Airplane Mode in Settings for about 10 seconds.
  4. Restart your router. Unplug it, wait 30 seconds, and plug it back in. This clears the router's own DNS cache and forces it to request fresh records from your internet provider.
  5. Switch to a public DNS server. In your device's network settings, find the DNS section and enter a public resolver such as Google's (8.8.8.8 and 8.8.4.4) or Cloudflare's (1.1.1.1 and 1.0.0.1). Menu labels differ slightly by system version.
  6. Test the result. Open a couple of the sites that failed before. If they load, the DNS path is working; if the same error returns, work through the cause table below.

Which DNS Error Message Are You Actually Seeing?

The exact wording on the error page tells you a lot, because browsers and operating systems name the failure differently. Match your message to the likely cause before you fix anything, so you are not restarting equipment for a problem that lives in one browser tab.

Message you seeWhat it usually meansHow to confirmFix
"DNS_PROBE_FINISHED_NXDOMAIN" (Chrome)The name could not be resolved at all — often a stale cache or a bad DNS server settingFlush the cache, then try another browser; if the other browser works, clear the first browser's own cacheFlush DNS cache and switch to a public DNS server
"DNS_PROBE_FINISHED_NO_INTERNET"Your device has no working connection, not a DNS problemCheck whether Wi-Fi shows as connected and whether other apps reach the internetReconnect to the network or restart the router
"Server DNS address could not be found"The DNS server your device is using did not answerTry loading a site by its number address, such as 1.1.1.1, in the address bar; if that loads, DNS is the faultChange DNS servers to 1.1.1.1 or 8.8.8.8
"This site can't be reached" with a DNS codeEither a stale record or the site's own DNS is brokenAsk someone on a different network, or use a site-status checker, to see if the site is down for everyoneWait if it is the site's fault; flush your cache if it is yours
"ERR_NAME_NOT_RESOLVED"A typo in the address, or a very new domain that has not propagated yetRetype the address carefully; try the site from another deviceCorrect the spelling, or wait a few hours for a new domain

Quick Checks Before You Change Any Settings

Run through this list in order — it takes about five minutes and catches the majority of DNS errors without touching a single setting. Each check either solves the problem or rules out a cause, which narrows the fix you need.

  • Try another browser. If the site loads there, clear the cache and cookies of the failing browser rather than changing system DNS.
  • Try another device on the same Wi-Fi. If only one device fails, the problem is that device's DNS settings or cache, not your network.
  • Try mobile data instead of Wi-Fi. If the site loads on data, your router or internet provider's DNS is the likely culprit.
  • Try loading a numeric address such as 1.1.1.1. If numbers work but names do not, you have confirmed it is DNS and nothing else.
  • Check the date and time on your device. A badly wrong clock can break secure connections in ways that look like a DNS failure.
  • Temporarily disable the browser's DNS-over-HTTPS or secure DNS setting, or switch its provider. A bad secure DNS setting in the browser overrides your system DNS and causes errors that flushing the system cache will not touch. The setting lives in the browser's privacy or security options; labels differ by version.

Keeping DNS Errors From Coming Back

Once things work, two small habits prevent most repeat DNS errors. Set your router or device to a reliable public DNS server permanently, so a flaky resolver at your internet provider stops being a factor. And when a DNS error appears, flush the cache before restarting anything — the cache is the most common cause and the fastest thing to clear.

One caution on VPNs and security software: both can sit between your browser and the DNS system, and a VPN whose DNS servers fail produces exactly these browser errors. If the errors started after installing one, disconnect the VPN or check its DNS settings first. Similarly, if errors appear only on one network — say, the office or a hotel — that network's DNS is the problem, and switching your device to 1.1.1.1 for that network only is a clean fix.

A few follow-up questions come up often. If a site stays broken after all this, it is almost certainly down on its side; site-status checkers or asking someone on another network confirms it, and there is nothing to fix locally. If only one device in the house fails, repeat the flush and DNS-change steps on that device alone. And if errors return every few days, the pattern usually points to your router's firmware or your internet provider's resolvers — a router restart is the temporary fix, and a permanent public DNS setting is the lasting one.

Official source: Google Chrome Help