How to Fix ERR_NAME_NOT_RESOLVED in Chrome
Find out whether the name, your DNS server or your proxy setup failed, then fix that part.
Updated
TL;DR
ERR_NAME_NOT_RESOLVED is Chrome's own error: the DNS lookup for the site's name returned no IP address, so Chrome never contacted the site. Check the address for typos first, then repair the DNS settings Chrome uses and reload.
How Chrome and its tools show the failed lookup
Chrome may swap the code for a DNS_PROBE result; tools built on Chrome keep the net:: code.
| Where | What you see |
|---|---|
| Chrome | This site can't be reached. www.example.invalid's server IP address could not be found. ERR_NAME_NOT_RESOLVED |
| Chrome after its DNS check, your DNS working | This site can't be reached. Check if there is a typo in www.example.invalid. DNS_PROBE_FINISHED_NXDOMAIN |
| Chrome after its DNS check, your DNS server failing | This site can't be reached. www.example.invalid's server IP address could not be found. DNS_PROBE_FINISHED_BAD_CONFIG |
| Chrome with a failing Secure DNS provider (Try list) | Checking the proxy, firewall, and Secure DNS configuration |
| Chrome DevTools console, failed fetch or image | Failed to load resource: net::ERR_NAME_NOT_RESOLVED |
| Puppeteer page.goto() | net::ERR_NAME_NOT_RESOLVED at https://www.example.invalid/ |
| Playwright page.goto() | page.goto: net::ERR_NAME_NOT_RESOLVED at https://www.example.invalid/ |
Why this happens
Chrome asked for the site's IP address and got none back.
Without a proxy, Chrome resolves every site name before connecting. A mistyped or unregistered name has no record to return, and a broken resolver, or one that filters the name on purpose, may return no address.
Diagnose your ERR_NAME_NOT_RESOLVED first
Start with what Chrome and a phone show you; the last two checks are for developers.
Read the code under Chrome's message; DNS_PROBE_FINISHED_NXDOMAIN means your DNS server works but has no address for this name.
Read the Try list; Secure DNS configuration there means Chrome's encrypted lookup failed, not your network's usual DNS server.
Open the address on a phone using mobile data; if it fails there too, the problem is the name itself, not your network.
Open DevTools, Network tab, and reload; rows failing with net::ERR_NAME_NOT_RESOLVED while the page loads mean another host, such as its API, does not resolve.
Run nslookup with the host name; NXDOMAIN (Windows: Nonexistent domain) means DNS has no such name, while an address points back to Chrome.
Solutions ranked by effectiveness
Fix the DNS path first, then stale cached answers, then proxy settings that send Chrome around the proxy.
- Most common fix
Repair the DNS settings Chrome relies on
Applies when the code is DNS_PROBE_FINISHED_BAD_CONFIG or the site opens on mobile data. The name exists; the server answering your lookups is down, misconfigured or filtering it.
In Chrome's Security settings, switch Use secure DNS off, then reload the page.
Remove DNS servers typed in by hand under your network settings, then reconnect.
Restart your modem and router if pages fail on every site.
If a work, school or ISP filter blocks the site on purpose, ask its admin.
- Check next
Clear lookups Chrome and your system cached
Applies when other devices already open the site, for example right after its DNS was fixed. Chrome or the operating system may still hold the earlier failed answer.
Open chrome://net-internals/#dns and click Clear host cache.
On Windows, run ipconfig /flushdns, which also drops cached not-found answers.
Quit Chrome completely, reopen it, and load the address again.
- For developers
Fix a bypass list, PAC or SOCKS4 setup
Applies when Chrome, Puppeteer or Playwright should reach this host through your proxy yet shows this error. A setting below made Chrome look the host up with your own DNS.
Remove the host from --proxy-bypass-list or your extension's bypass list.
Make your PAC file return PROXY for that host, with no DIRECT fallback.
Write socks5:// instead of socks4://, and SOCKS5 instead of SOCKS in PAC files.
Stop the ERR_NAME_NOT_RESOLVED from coming back
Habits for people who browse on several networks, run their own domains or name local test servers.
On laptops, set Use secure DNS to OS default (when available); a custom provider never falls back to plain DNS.
Keep auto-renew on for your domains; after expiry, ICANN rules make the registrar interrupt the domain's DNS.
Create every record at a new DNS host before switching nameservers, or resolvers may cache a not-found answer.
Give custom dev names such as shop.test a hosts-file line; caching DNS servers should answer .test lookups with not found.
Related errors
Learn more
FAQ
Chrome proxy setup for each system
Geonode's Chrome guide links system proxy steps for Windows, macOS, Android and iOS.


