← Back to Learning Hub

DNS • Intermediate • 6 min read

Fix ERR_NAME_NOT_RESOLVED in Your Browser

ERR_NAME_NOT_RESOLVED means the browser could not turn a hostname into an IP. Separate a missing record from a stale cache, a down resolver, or a typo, and fix each.

ERR_NAME_NOT_RESOLVED is Chrome's way of saying it could not turn the hostname you typed into an IP address. The DNS step failed before any connection was even attempted, so the error is always about resolution, never about the server being down. That single fact narrows the causes a lot, but it still leaves four possibilities: the record genuinely does not exist, your local or resolver cache is stale, the resolver itself is unreachable or misconfigured, or there is a simple typo. The fix depends entirely on which one you are hitting, so the job is to tell them apart. An authoritative DNS lookup settles the biggest question first: does the record actually exist?

What the error means, and what it does not

The browser resolves a name by asking a recursive resolver, which works down from the root to the authoritative nameservers and returns an A or AAAA record. ERR_NAME_NOT_RESOLVED fires when that process yields no usable address. Importantly, it is broader than a clean not-found answer. It can fire when the authoritative servers say the name does not exist, but it can also fire when the resolver never answered at all, when a cached bad result is being served, or when your device cannot reach any resolver. That breadth is why it sometimes appears for a site that genuinely exists and works for other people.

Step one: does the record exist authoritatively?

Settle the central question before touching your own machine. Query the name and see whether an A or AAAA record exists at the authoritative level:

dig +short A example.com
dig +short AAAA example.com

On Windows:

nslookup example.com

If these return an address, the record exists and the problem is on your side: cache, resolver, or typo. If they return nothing, or you see an NXDOMAIN response, the record itself is missing or mistyped and no amount of local troubleshooting will help. Checking from an independent lookup rather than your own resolver is what makes this definitive, since it bypasses any bad cache sitting between you and the authoritative answer.

Fix a stale or poisoned cache

If the authoritative lookup succeeds but your browser still errors, a stale cached result is the likeliest culprit, especially right after a DNS change where the old record said the name did not exist. Clear the caches from the outside in. First flush Chrome's own internal DNS cache by visiting chrome://net-internals/#dns and clicking Clear host cache. Then flush the operating system resolver cache:

# Windows
ipconfig /flushdns

# macOS
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

# Linux (systemd-resolved)
resolvectl flush-caches

Negative answers are cached too, governed by the SOA negative TTL, so if you just created a record you may simply need to wait out that TTL before your resolver stops insisting the name does not exist.

Fix a down or misconfigured resolver

If flushing does not help and the record clearly exists, suspect the resolver your device is using. A resolver that is down, overloaded, or misconfigured will fail to answer and produce this error for every site, not just one. Test by pointing at a known-good public resolver directly:

dig @1.1.1.1 example.com
dig @8.8.8.8 example.com

If those succeed while your default resolver fails, switch your network or device DNS settings to a reliable public resolver, or restart your router, which often hands out and caches DNS. A VPN or local DNS filtering software can also hijack resolution, so disable those temporarily to see if they are the cause.

Rule out the simple typo

It is worth stating plainly because it is so common: a mistyped hostname produces exactly this error. A transposed letter, a wrong TLD, or an extra subdomain that was never published all resolve to nothing. Before deeper troubleshooting, retype the address or paste a known-good link, and confirm the exact spelling against the authoritative lookup you ran in step one.

ERR_NAME_NOT_RESOLVED vs DNS_PROBE_FINISHED_NXDOMAIN

These two Chrome errors overlap but are not identical. DNS_PROBE_FINISHED_NXDOMAIN is specifically a confirmed not-found answer: the authoritative servers said the name does not exist. ERR_NAME_NOT_RESOLVED is broader and also covers resolver and cache failures where the record may actually exist. In practice, if your authoritative lookup in step one returns an address, you are far more likely dealing with a local cache or resolver fault than a truly missing record, and the cache and resolver fixes above are where to focus.

Frequently asked questions

What causes ERR_NAME_NOT_RESOLVED?

A DNS resolution failure. The record may not exist, your DNS cache may be stale, your resolver may be down or misconfigured, or the hostname may contain a typo. The browser never reached the point of connecting to a server.

How do I know if the record actually exists?

Run an authoritative lookup with dig or an independent tool. If it returns an A or AAAA address, the record exists and the fault is local. If it returns nothing or NXDOMAIN, the record is missing or mistyped.

Why does the site work for others but not me?

Because the record exists but your side is failing, usually a stale cache or a broken resolver. Flush your DNS cache and test a public resolver like 1.1.1.1; if that works, your default resolver was the problem.

Does flushing DNS fix this error?

It fixes the common case where a stale or negative cached result is being served, especially just after a DNS change. Flush Chrome's host cache and the OS resolver cache. If the record does not exist authoritatively, flushing will not help.

Is this the same as NXDOMAIN?

Not quite. NXDOMAIN is a confirmed does-not-exist answer. ERR_NAME_NOT_RESOLVED is broader and also fires on resolver and cache failures where the record can still exist, so always confirm with an authoritative lookup first.

Less obvious causes worth checking

When the record exists, the cache is clear, and a public resolver works, a handful of quieter causes remain that produce the same error. They are worth knowing because none of them is fixed by the usual flush-and-retry routine.

The first is the hosts file. Every operating system keeps a local override file, /etc/hosts on macOS and Linux or C:\Windows\System32\drivers\etc\hosts on Windows, that is consulted before DNS. A stale or deliberately added entry pointing a hostname at a dead address, or a leftover line from old testing, can shadow the real record entirely, and no amount of DNS flushing touches it. Open the file and remove any line for the name that should not be there. The second is DNS-over-HTTPS. Modern browsers can run their own encrypted resolver independent of the operating system, so a DoH provider that is unreachable or filtering a name produces the error even though a system-level dig succeeds. Check the browser's secure-DNS setting and temporarily switch it off to see whether the built-in resolver is the one failing.

A third cause is browser extensions, particularly ad blockers, privacy tools, and proxy or VPN extensions, which can block a hostname at the application layer and surface it as a resolution failure. Test the page in an incognito window with extensions disabled. Finally, on networks with filtering or parental controls, a name may be deliberately blocked upstream, in which case the record resolves everywhere except from that network. An authoritative lookup from an independent tool separates this from a genuine fault, since it confirms the name is healthy while your network refuses it.

The fastest path through this error is to answer one question before touching anything: does the record resolve authoritatively? Settle it with the DNS lookup tool, then fix the cache, resolver, or typo accordingly.

Troubleshooting box

If results look inconsistent, compare authoritative nameservers first, then recursive resolvers by region. Capture snapshots every 10 minutes for deterministic incident timelines.

Try VallaDNS free →

Intermediate • 6 min

What Is TLS-RPT? Reading TLS Reporting Reports

TLS-RPT publishes a _smtp._tls TXT record so receivers send you daily JSON reports on successful and failed TLS sessions. Learn what the reports contain and how to act on them.

Intermediate • 6 min

How to Find Your DKIM Selector and Record

DKIM records hide at selector._domainkey and the selector name is not obvious. Discover it from an email's DKIM-Signature s= tag and verify the published key with a TXT lookup.