Troubleshooting guide
ERR_NAME_NOT_RESOLVED: how to fix DNS lookup failures
The browser could not turn the hostname into an IP address, so it never tried to contact the server. The failure is entirely in DNS.
3 min read10 sectionsUpdated
On this page
Common causes
- The record does not exist, through a typo, a deleted record or a new subdomain that was never created.
- The domain expired, or its registrar suspended it.
- Nameserver changes that have not finished propagating, or that point at the wrong provider.
- A local resolver problem: a stale cache or a broken router or ISP DNS service.
- DNSSEC validation failure after a key change. Validating resolvers return SERVFAIL.
- A browser extension or filtering DNS blocking the domain.
Diagnose it
Follow DNS from the top. If the delegation is right and the authoritative server answers, your site is fine, and the problem is in a resolver.
# Ask public resolvers
dig +short example.com A @1.1.1.1
dig +short example.com A @8.8.8.8
# Follow delegation from the root
dig +trace example.com A | tail -12
# Status field: NOERROR, NXDOMAIN or SERVFAIL
dig example.com A | grep status
# Disable DNSSEC checking: if this works, DNSSEC is broken
dig +cd example.com A @8.8.8.8 | grep status
# Is the domain still registered, and until when?
whois example.com | grep -iE 'expir|status' | headFixes
As a visitor: flush the cache (ipconfig /flushdns, or in Chrome open chrome://net-internals/#dns), and switch to a public resolver like 1.1.1.1.
As a site owner: add the missing record, confirm the registrar's nameservers match your DNS provider, renew the domain and enable auto-renew. For DNSSEC, make sure the DS record at the registrar matches the current signing key, or remove it before moving DNS providers.
Catch it automatically
DNS failures take everything down at once, including email. DNS monitoring checks your records against expected values, and an uptime check reports resolution failures separately from HTTP ones. Set domain expiry reminders somewhere other than the inbox of the person who registered the domain.
Why does it work on my phone but not my laptop?
They use different resolvers or caches. Flush the laptop's DNS, or check for a VPN or local hosts-file entry.
How long does DNS propagation take?
It depends on the TTL of the old record, usually from minutes to a few hours. Nameserver changes at the registrar can take up to 48 hours.
What is the difference between NXDOMAIN and SERVFAIL?
NXDOMAIN says the name does not exist. SERVFAIL means the resolver could not get a valid answer, often because of DNSSEC or broken nameservers.
Check it now, free
- DNS lookup: A, AAAA, CNAME, MX, TXT, NS, SOA and CAA records.
Related reading
- ERR_ADDRESS_UNREACHABLE: how to fix it: Fix ERR_ADDRESS_UNREACHABLE: no route to the server, wrong IP in DNS, IPv6 problems, private addresses and firewalls, for visitors and server owners.
- "Your connection is not private": how to fix it: Fix "Your connection is not private" (NET::ERR_CERT_*): expired or mismatched certificates, wrong device clocks, missing intermediates and Wi-Fi portals.
- "DNS server not responding": how to fix it: Fix "DNS server not responding" on Windows and Mac: restart the router, flush DNS, switch to 1.1.1.1 or 8.8.8.8, and check adapters, VPNs and firewalls.
- ERR_QUIC_PROTOCOL_ERROR: how to fix it: Fix ERR_QUIC_PROTOCOL_ERROR: HTTP/3 over QUIC blocked by firewalls, proxies or antivirus, broken UDP paths, and server and CDN configuration fixes.
- ERR_CONTENT_DECODING_FAILED: how to fix it: Fix ERR_CONTENT_DECODING_FAILED: wrong Content-Encoding headers, double gzip compression, broken Brotli, PHP output buffering and proxies, with tests.
- ERR_HTTP2_PROTOCOL_ERROR: causes and how to fix it: Fix ERR_HTTP2_PROTOCOL_ERROR in Chrome: invalid response headers, crashed backends behind HTTP/2 proxies, buffer limits and antivirus interference.
Watch your own site and services with VitalRix
Uptime checks, APM, logs, real-user monitoring, alerts and status pages in one place. Every product has a free tier and no credit card is needed.