User Agents

Web browsers and everyday web tech, explained

DNS Resolution Error: What It Means and How to Fix It

· 5 min read · How the Web Works

In this article
  1. The Fastest Route Through a DNS Resolution Error
  2. Which DNS Problem Do You Actually Have?
  3. Your Device Cannot Reach the DNS Server
  4. Your Router or ISP Is Blocking or Misrouting Lookups
  5. Only One Website Gives the DNS Error
  6. What the Error Codes Next to the Message Tell You

A DNS resolution error means your device cannot translate a website name into the server address it needs to load the page. Restart your router and switch your device to a public DNS service such as Google DNS (8.8.8.8) or Cloudflare (1.1.1.1) — that fixes the majority of cases.

Time 10 min · Steps 5 · Level Easy

Start with the quick fix: power-cycle your router and change your DNS server. Unplug the router for 30 seconds, plug it back in, wait about 2 minutes for it to fully reconnect, then reload the page. If the error persists, switch your device's DNS to a public resolver like 8.8.8.8 (Google) or 1.1.1.1 (Cloudflare). The error happens because DNS is the internet's address book — when the lookup fails, your browser never finds the server, even though your Wi-Fi may show as connected.

The Fastest Route Through a DNS Resolution Error

  1. Reload the page and try another site. If every site fails, the problem is on your side; if only one site fails, the problem is likely on that site's side.
  2. Restart your router. Unplug it for 30 seconds, plug it back in, and wait about 2 minutes before testing again.
  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.
  4. Switch to a public DNS server. Set your device or router to use 8.8.8.8 and 8.8.4.4, or 1.1.1.1 and 1.0.0.1.
  5. Test from another device or network. If the site loads on mobile data but not Wi-Fi, the fault is your network; if it fails everywhere, it is the site or your ISP.

Which DNS Problem Do You Actually Have?

Pin the error down before changing settings, or you will fix the wrong thing. Open a command prompt or terminal and run ping 8.8.8.8. If numbers come back, your internet connection works and only name lookups are broken — a pure DNS problem. If the ping fails too, you have a connection problem, not a DNS one, and the fix is your router, Wi-Fi or ISP. Next, run nslookup example.com. If it times out, your device cannot reach its DNS server at all; if it returns an address but the browser still errors, the cache or browser is the suspect.

Your Device Cannot Reach the DNS Server

This is the most common cause: the DNS server your router handed out has stopped responding or is being blocked. Confirm it by running nslookup example.com 8.8.8.8 — if that works while plain nslookup example.com fails, your default DNS server is the culprit. Fix it by entering a public DNS server directly on your device. On Windows: Settings > Network & Internet > Change adapter options, right-click your connection, choose Properties, select Internet Protocol Version 4, and set the preferred DNS to 8.8.8.8. On macOS: System Settings > Network, select your connection, click Details, then DNS, and add 8.8.8.8. On Android: Settings > Network & Internet > Private DNS, and enter dns.google. On iPhone: Settings > Wi-Fi, tap the (i) next to your network, then Configure DNS. Exact labels can differ slightly by version.

Why Flushing the DNS Cache Fixes "Site Not Found" After It Worked Before

Your device stores recent lookups so repeat visits load faster, and a stale or poisoned entry can keep pointing to a wrong address even after the site has moved. Flushing the cache forces a fresh lookup. After running the flush command from the steps above, also restart your browser, since browsers keep their own separate DNS cache — Chrome and Firefox both do, and a browser restart clears it. If one browser still fails while another loads the same site, clear the failing browser's cache from its settings menu as well.

Your Router or ISP Is Blocking or Misrouting Lookups

If the error appears on every device in the house, the router or your internet provider is at fault. Confirm by testing the same site over mobile data on your phone: if it loads there, your home network is the problem. Fix it at the router so every device benefits: open your router's admin page (usually reached by typing 192.168.1.1 or 192.168.0.1 into a browser), find the DNS settings — often under Internet, WAN or Setup — and set the DNS servers to 8.8.8.8 and 8.8.4.4. Restart the router afterwards. If lookups still fail after that, your ISP may be having an outage; check its service status page on mobile data, or report the fault. Some ISPs also block certain sites at DNS level, which shows up as a resolution error — using a public DNS server sidesteps that.

Only One Website Gives the DNS Error

When a single site fails while everything else loads, the problem is usually on that site's end: its DNS records have expired, its domain registration lapsed, or its DNS provider is down. Confirm by running nslookup sitename.com 8.8.8.8 — an error or an empty answer means the site's own records are broken, and nothing on your device will fix it. Try again after 15–30 minutes; DNS changes propagate and the site's owner may already be repairing it. You can also ask someone on a different network to try the site, or check a DNS lookup tool online from your phone. If the site works for them but not for you, flush your cache again and check your device's hosts file (on Windows at C:\Windows\System32\drivers\etc\hosts) for a stale entry pointing the domain to a wrong address.

What the Error Codes Next to the Message Tell You

The code narrows the cause in seconds. DNS_PROBE_FINISHED_NXDOMAIN in Chrome means the name does not exist as far as your resolver knows — either a typo in the address, a dead domain, or a broken lookup; check the spelling first, then flush the cache. DNS_PROBE_FINISHED_NO_INTERNET means there is no connection at all, so work on the router and Wi-Fi before touching DNS settings. ERR_NAME_NOT_RESOLVED is the browser's general form of the same lookup failure and responds to the same fixes. On Windows, an error mentioning "can't resolve the DNS" or DNS_SERVER_NOT_FOUND points at the unreachable-server cause above.

Does a VPN Cause DNS Resolution Errors?

It can. A VPN routes your DNS through its own servers, and if those fail or the connection drops mid-session, every lookup fails at once. Confirm by disconnecting the VPN and reloading the page — if the site appears, the VPN's DNS is the problem. Reconnect and, in the VPN app's settings, look for a DNS or "leak protection" option and set it to a public resolver. Also check that the VPN's virtual network adapter did not leave a stale DNS entry behind after an unclean shutdown: reconnect and disconnect once, then flush your DNS cache.