User Agents

Web browsers and everyday web tech, explained

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

· 5 min read · How the Web Works

In this article
  1. First, Tell Whether It Is One Site or Everything
  2. Quick Checks That Fix Most DNS Lookup Errors
  3. The Most Common Cause: A Stale or Wrong DNS Cache
  4. Less Common Causes and How to Confirm Each
  5. Keeping DNS Errors From Coming Back

A DNS lookup error means your device asked a DNS server to translate a website name into an address and got no usable answer. In most cases the problem is your device, your router, or the DNS server itself — and the fix is usually flushing the DNS cache or switching to a public DNS server.

Time 15 min · Steps 8 · Level Easy

First, Tell Whether It Is One Site or Everything

The single symptom that splits the causes: does the error appear on every website, or only one? If every site fails, the problem sits on your side — your device, your Wi-Fi router, or the DNS server your network uses. If only one site fails, the problem is almost certainly that site's own DNS records, and there is nothing you can fix locally except wait or report it. A quick way to test is to try three or four unrelated sites and then a site you know is reliable. If some load and others do not, note which ones — that pattern points to the sites, not your setup.

Also check the exact wording. "DNS_PROBE_FINISHED_NXDOMAIN" in Chrome, "DNS server not responding" in Windows, or "server DNS address could not be found" are all the same family of problem: the name-to-address lookup failed, not the site being down.

Quick Checks That Fix Most DNS Lookup Errors

  1. Confirm it is DNS, not the connection. Open a browser and go to a site by its raw IP address, such as 1.1.1.1 (a public DNS service's own page). If that loads while named sites fail, your internet works and DNS is the broken part.
  2. Restart the router. Unplug the power, wait 30 seconds, plug it back in, and give it 1-2 minutes to reconnect. Home routers sometimes hand out a broken DNS address to every device on the network, and a restart clears it.
  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 Android, turn Airplane mode on for 10 seconds and off again, or restart the phone.
  4. Restart the device. Phones and computers keep their own DNS cache, and a restart clears it along with the network settings.
  5. Try another network. Switch your phone to mobile data, or connect the laptop to a different Wi-Fi. If the site loads there, your original network's DNS is the culprit.
  6. Change your DNS server. In your device or router settings, replace the automatic DNS with a public one: Google DNS at 8.8.8.8 and 8.8.4.4, or Cloudflare at 1.1.1.1 and 1.0.0.1. Menu paths differ slightly by version; on Windows it is Settings > Network & Internet > adapter properties > DNS server assignment; on Android, Settings > Network > Private DNS lets you enter a hostname such as one.one.one.one.
  7. Check the site itself. If only one domain fails, wait 15-30 minutes and retry — a site that has misconfigured its records usually fixes them within hours. You can also ask a friend on another network to try the same address.
  8. Clear the browser's own cache. Browsers cache DNS separately from the operating system. In Chrome, clearing browsing data with "cached images and files" ticked removes it; in Firefox, the about:networking page has a DNS cache clear button.

The Most Common Cause: A Stale or Wrong DNS Cache

When a site changes its address, every device between you and that site may still hold the old one. Your computer, your browser, and your router each keep a DNS cache, and a stale entry produces exactly this error while the site itself is fine. The confirm step is simple: flush the caches as in steps 3 and 8, then reload with a hard refresh (Ctrl+F5 on Windows, or hold Shift and press Reload in most browsers). If the site comes back, that was it. Caches expire on their own eventually — typically within minutes to a few hours, depending on how the site set its records — so doing nothing also works if you are patient.

Less Common Causes and How to Confirm Each

Your network hands out a broken DNS server

Internet providers occasionally have DNS outages of their own. Confirm by switching to a public DNS (step 6) on one device only — if everything starts working, the provider's DNS was the problem. Setting the public DNS in the router instead of the device fixes every phone and laptop in the house at once.

A VPN or security app is intercepting DNS

VPNs and some antivirus suites route DNS through their own servers, and when one fails you get lookup errors on everything. Confirm by disconnecting the VPN or temporarily disabling the app's web protection, then reloading. If that fixes it, check the app's own DNS settings or update it.

Parental controls or a firewall blocks the domain

Some routers and work networks block DNS for certain categories of sites. If the same site fails only on your home or office network but loads on mobile data, the network's filtering is the cause — and only the network administrator can change it.

The site's own records are wrong

If a site fails for everyone everywhere, its owner has a DNS misconfiguration and your only move is to wait or contact them. There is nothing to fix on your side, and retrying every 15-30 minutes is reasonable.

Keeping DNS Errors From Coming Back

Two habits cover most of it. First, set a reliable public DNS in your router so a provider outage never takes the whole house offline. Second, after any future lookup error, run the flush command before anything else — it is the fastest fix and it costs nothing. If errors return repeatedly on one device only, that device's network settings are the suspect: on Windows, Settings > Network & Internet > Advanced network settings > Network reset restores them to defaults (you will need to re-enter Wi-Fi passwords); on a phone, "Reset network settings" does the same. Menu labels can differ slightly by system version.

Official source: Google Android Help