Fix a domain that DNS says doesn't exist

DNS_PROBE_FINISHED_NXDOMAIN is Chrome's error when it couldn't look up a site's address and its own DNS works fine, so Chrome concludes the name doesn't exist. On your own site, look first for a missing record for that exact hostname or nameservers that don't hold your zone, then check whether the registration has lapsed.

Why DNS says your domain doesn't exist

  • No record for that exact hostname

    DNS answers name by name. A record for yoursite.com doesn't cover www.yoursite.com or shop.yoursite.com, so a hostname with no record of its own, and no wildcard record covering it, fails even when the bare domain works.

  • Nameservers that don't hold your zone

    If the nameservers set at your registrar belong to a DNS provider where your zone is missing or was deleted, none of your names resolve. This can happen after a move to a new host or DNS provider.

  • The registration lapsed or is on hold

    For a generic domain like .com, ICANN requires the registrar to interrupt an expired domain's DNS before deleting it, where the registry allows it. A domain on clientHold or serverHold isn't published in DNS at all, so every name under it fails.

  • A record lost in a recent change

    Switching DNS providers or cleaning up old records can drop the one your site needs. Compare the zone with what you had before the error started.

  • DNSSEC left on after a move

    If your registrar still publishes a DS record for your old DNS provider's keys, resolvers that check DNSSEC can't verify your new zone and return a failure instead of an address. Remove or update the DS record at the registrar.

  • An old answer still cached

    Resolvers remember that a name doesn't exist for as long as your zone's SOA record allows. A record you've just added can keep failing for some visitors until that time runs out.

Chrome runs a DNS probe after a lookup fails with ERR_NAME_NOT_RESOLVED. If its current DNS setup answers the probe correctly, Chrome assumes the domain doesn't exist and shows this code; see dns_probe_service_factory.cc. ICANN's status code guide explains the hold statuses, its expired registration policy covers DNS after expiry, and RFC 2308 sets how long a negative answer is cached. RFC 4035 requires a DS record to match a key in your zone, and tells validating resolvers to return a server failure when signatures don't validate. RFC 1034 bars a CNAME from sharing a name with other records.

Look up the name with dig

# Does the name exist? Look for status: NXDOMAIN, NOERROR or SERVFAIL in the header
dig www.yoursite.com

# Which nameservers does the domain use?
dig NS yoursite.com +short

# Ask the first of those nameservers directly
dig @"$(dig NS yoursite.com +short | head -n 1)" www.yoursite.com +short

# Follow the delegation down from the root servers
dig +trace www.yoursite.com

Read what dig returns

  • status: NXDOMAIN means the name doesn't exist in DNS. status: NOERROR with no answer means the name exists but has no record of the type you asked for, such as no A record for www. RFC 2308 defines both answers. status: SERVFAIL means the resolver got no usable answer, for example because your nameservers refuse the zone or DNSSEC validation failed. Chrome shows DNS_PROBE_FINISHED_NXDOMAIN for all three, because it reports nearly every failed lookup as ERR_NAME_NOT_RESOLVED; see host_resolver.cc. RFC 9520 lists many of the conditions that make a resolver return SERVFAIL.

  • If the NS lookup prints nothing, or nameservers you don't recognize, look at the domain at your registrar. If your own nameserver returns the address but your usual resolver still says NXDOMAIN, the resolver is probably holding an old negative answer. +trace follows referrals from the root servers and shows the answer from each, so the step where the name disappears is the one to fix. The dig manual explains each option.

  • A registration data lookup, such as ICANN Lookup for a generic domain like .com, includes the domain's status codes. ICANN's status code guide explains that clientHold or serverHold means the registry isn't publishing the domain in DNS.

How to fix a domain DNS can't find

  1. Confirm the registration is activeCheck the expiry date and status at your registrar. If the domain has lapsed, renew it first; no record change helps until the domain is published in DNS again.
  2. Check the nameservers at the registrarThey should match the DNS provider where you edit your records. After a move, update them at the registrar, not only at the new provider.
  3. Add the missing recordCreate an A, AAAA or CNAME record for the exact hostname that failed, pointing at your host. Add records for both the bare domain and www if visitors use both, and use A or AAAA records for the bare domain, since a CNAME can't sit alongside your zone's own records.
  4. Test your nameserver, then a public resolverRun dig against your own nameserver first, then against the resolver visitors use. Resolvers that cached the old answer catch up once its time runs out.

Frequently asked questions

Is this the same error as a name not resolved?

Close. ERR_NAME_NOT_RESOLVED is the failed lookup itself. Chrome then probes its own DNS setup, and DNS_PROBE_FINISHED_NXDOMAIN is the result when that setup works, which points at your domain rather than the visitor's network. Chromium's net_error_info.h lists each probe result.

Can an expired domain cause this error?

Yes. For generic domains such as .com, ICANN's policy requires the registrar to interrupt an expired domain's DNS before deleting it, where the registry allows it, either so the name stops resolving or so it shows a page saying the domain has expired. The domain expiration guide, linked below, covers renewal and the grace periods.

Why does my site load on my phone but not my computer?

The two may use different DNS resolvers, for example a phone on mobile data and a computer on your office network, and one of them can still hold an old negative answer for your domain. That answer clears once its cached time runs out.

How do I find out when my site stops resolving?

SiteCMD requests your home page every few minutes once you add the site, and it emails you when the site goes down and again once it recovers.