User Agents

Web browsers and everyday web tech, explained

DNS Not Found Error: Quick Fixes That Work

· 5 min read · How the Web Works

In this article
  1. The 8 Fixes, In the Order to Try Them
  2. What the Error Actually Means
  3. Which Cause You Have, and the Matching Fix
  4. How to Confirm the Fix Worked
  5. Setting Public DNS So It Stops Happening
  6. When the Problem Is Not Yours

A "DNS not found" or "DNS_PROBE_FINISHED_NXDOMAIN" error means your device cannot translate a website name into an address. Most cases clear in under a minute by restarting your router, flushing your DNS cache, or switching to a public DNS server.

Time 15 min · Steps 8 · Level Easy

The 8 Fixes, In the Order to Try Them

  1. Reload the page and try another site. If only one site fails, the problem is usually that site, not your connection. Wait a few minutes and try again.
  2. Restart your router. Unplug it, wait 30 seconds, plug it back in and wait about 2 minutes for the lights to settle. This clears the router's own DNS cache and forces a fresh connection.
  3. Flush the DNS cache on your device. On Windows, open Command Prompt and run ipconfig /flushdns. On macOS, open Terminal and run sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder. On Chrome OS and Android, simply restarting the device clears it.
  4. Restart your computer or phone. A reboot renews the network settings your device received from the router, including the DNS server addresses.
  5. Try another network. Switch to mobile data or a different Wi-Fi network. If the site loads there, the fault is with your original network's DNS, not your device.
  6. Change your DNS servers. Replace your provider's DNS with a public one such as Google (8.8.8.8 and 8.8.4.4) or Cloudflare (1.1.1.1 and 1.0.0.1). This is the fix that solves most stubborn cases.
  7. Check for a VPN or proxy. Disconnect it, then reload the page. If the error disappears, the VPN's DNS settings are the culprit; reconnect or change its server.
  8. Scan for network-hijacking software. Run a malware scan and check your browser for unfamiliar extensions, since some software redirects DNS traffic. Remove anything you did not install yourself.

What the Error Actually Means

DNS is the internet's address book: it turns names like example.com into the numeric addresses computers actually use. A "DNS not found" error means that lookup failed somewhere between your device and the name server. Importantly, it does not mean the site is down in every case, and it does not automatically mean your internet is broken. You can often still load other sites, chat apps and email while one browser tab shows this error, because only the name lookup is failing, not the connection itself.

One thing is normal: a single site failing for a few minutes is common and usually clears on its own. What is not normal is the error appearing on every site, persisting after a router restart, or affecting every device in your home at once. That pattern points to your network's DNS settings rather than any one website.

Which Cause You Have, and the Matching Fix

SymptomLikely causeFix
One site fails, others loadThe site's own DNS records, or a typo in the addressCheck the spelling, wait 10-15 minutes, try again later
All sites fail on all devicesRouter or internet provider DNS problemRestart the router; if it repeats, set public DNS in the router
All sites fail on one device onlyStale DNS cache or wrong DNS settings on that deviceFlush the cache, then set DNS to 8.8.8.8 and 8.8.4.4
Error started after installing a VPNVPN DNS configurationDisconnect the VPN, reconnect, or pick a different VPN server
Error only in one browserBrowser DNS cache or an extensionClear the browser's cache, test in another browser, remove extensions
Intermittent, comes and goesUnstable Wi-Fi or router overheatingMove closer to the router, restart it, check it has ventilation

How to Confirm the Fix Worked

After each fix, reload the page that failed. A full load with images and links working means the lookup succeeded. For a stronger check, open a second site you have not visited today; if both load, DNS is working again. If the error returns within hours, the underlying cause is still there, usually wrong DNS settings or a failing router, so move on to the permanent fixes below rather than flushing the cache repeatedly.

Setting Public DNS So It Stops Happening

Switching your device or router to a public DNS service is the most reliable prevention, because it removes your internet provider's name servers from the equation.

On Windows

Open Settings > Network & Internet, choose your connection, then find the DNS server assignment (labels can differ slightly by version). Set it to manual and enter 8.8.8.8 as the preferred server and 8.8.4.4 as the alternate. Save, then flush the cache with ipconfig /flushdns.

On macOS

Open System Settings > Network, select your connection, click Details, then DNS. Replace or add the entries 8.8.8.8 and 8.8.4.4 at the top of the list, then apply. Restart the Wi-Fi from the menu bar to make it take effect.

On Android and iPhone

On Android, open Settings > Network & internet > Private DNS and enter a provider hostname such as one.google.com (labels vary by version). On iPhone, Settings > Wi-Fi, tap the info icon next to your network, then Configure DNS, choose Manual and add 8.8.8.8 and 8.8.4.4.

In the router

Setting DNS in the router covers every device in the house at once. Sign in to the router's admin page, find the DNS settings (often under Internet or WAN setup), enter 8.8.8.8 and 8.8.4.4, save, and restart the router. If you are not sure how to reach the admin page, check the label on the router or its manual rather than guessing.

When the Problem Is Not Yours

Sometimes the site you want has broken DNS records, and nothing on your side will fix it. You can confirm this by asking someone on a different network to try the same site, or by checking a site-status page from your phone on mobile data. If it fails for them too, wait; site owners usually repair DNS records within a few hours. If a site you visit daily suddenly shows this error for days, and every other site works, the domain may have lapsed, which is again beyond your control. In those cases the honest answer is patience; the fixes on this page only solve the half of the problem that lives in your own home.

Official source: Google Support