Troubleshooting

ERR_NAME_NOT_RESOLVED Error: causes and fix

Quick answer: Your device couldn't turn the site's name into an IP address through DNS. Check the address and your connection first, then flush the DNS cache and switch DNS servers if needed.

کروم Easy About 10 min 8 steps Internet, Browser & Website Errors
ERR_NAME_NOT_RESOLVED Error: causes and fix — A young man in a hoodie sits on an unmade bed early in the morning with a laptop on his knees.

Symptoms

  • "This site can't be reached" with the code ERR_NAME_NOT_RESOLVED
  • "example.com's server IP address could not be found"
  • net::ERR_NAME_NOT_RESOLVED inside an Android app or an in-app web page
  • The same error for a file or subdomain in the browser console (for developers)

Likely causes

  1. Your device's or provider's DNS server isn't responding or can't be reached.
  2. The address is mistyped, or the domain doesn't exist or has expired.
  3. The DNS cache on your device or router holds an old or broken entry.
  4. A VPN, proxy or the browser's "secure DNS" setting points to a server that doesn't answer.
  5. You're not actually online at that moment (for example, Wi-Fi with no internet).

Step-by-step fix

Start from step one and test again after each step; steps go from the simplest to the most technical.

  1. Check the address and connection

    Double-check the spelling of the address and open another well-known site. If no site loads, the problem is your internet connection, not this site.

  2. Test on another connection

    Open the same address on mobile data or another network. If it loads, your current network's DNS is the problem. If it fails everywhere, the domain itself is probably broken or expired.

  3. Restart router and device

    Both your router and your device cache DNS answers. Unplug the router for 30 seconds and restart your phone or computer once.

  4. Flush the DNS cache

    On Windows, open Command Prompt and run ipconfig /flushdns; it's safe. In Chrome you can also open chrome://net-internals/#dns and click "Clear host cache".

  5. Check Chrome's secure DNS

    In Chrome, go to "Settings > Privacy and security > Security" and find "Use secure DNS". If it's set to a custom provider, switch it back to the default or turn it off and on once.

  6. Change your device's DNS

    In Windows network settings, enter a reputable public DNS server such as 8.8.8.8 or 1.1.1.1. On Android, if you set "Private DNS" to a hostname that no longer works, set it back to "Automatic".

  7. Check your VPN app

    If a VPN is on, turn it off and try again. Some VPN apps change DNS settings and leave them broken after they close; restarting the device usually fixes it.

  8. Site owners: check domain records

    In your registrar's panel, confirm the domain hasn't expired and the nameservers are correct. If the error only shows for one subdomain or a file in the console, that subdomain's DNS record (A or CNAME) is probably missing or wrong.

If nothing worked

If you get the same error on every connection and every DNS server, the domain really doesn't exist, has expired or its records were deleted. There's nothing a visitor can do.

If only one device shows the error while others on the same network open the site, the problem is that device: check manual DNS settings, extensions, VPN apps or security software.

Don't use random DNS addresses passed around online or unknown "DNS fixer" apps.

Frequently asked questions

What's the difference between ERR_NAME_NOT_RESOLVED and DNS_PROBE_FINISHED_NXDOMAIN?

Both mean the site's name couldn't be turned into an IP address. NXDOMAIN means the DNS server explicitly said the domain doesn't exist; ERR_NAME_NOT_RESOLVED is broader and can mean DNS never answered at all. The fixes are almost the same.

Why does the error appear in only one phone app?

Some apps contain a built-in web page and show this code directly. If the same site opens in your browser, update the app and clear its cache; if you set Private DNS manually on the phone, switch it back to Automatic.

Related problems

Terms used on this page

More Internet, Browser & Website Errors problems

All problems Internet, Browser & Website Errors

Last updated:

Type a few letters of the topic; spelling variants are treated as the same.