Skip to content

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

Key points

  • No connection was attempted, so the web server is not involved.
  • Check authoritative DNS first to separate a site problem from a local one.
  • Expired domains and dropped records are the serious causes.
  • DNSSEC failures look like the domain does not exist.

What the error means

Chrome asked its DNS resolver for the address and received no usable answer. Either the name has no record, the resolver failed, or something blocked the query. Compare answers from different resolvers to find which.

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.

bash
# 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' | head

Fixes

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.

Frequently asked questions

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.

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.