blog

DNS_PROBE_FINISHED_NXDOMAIN on Your Site: How to Fix It

Your own or a client's site shows DNS_PROBE_FINISHED_NXDOMAIN? Find out in 5 minutes whether it's you, the domain, the nameservers or a missing record.

6 min readFixesDomainsAgencies

A client messages you: "the website is gone". You open it and Chrome says This site can't be reached, with DNS_PROBE_FINISHED_NXDOMAIN in small grey letters. Most guides for this error are written for visitors and tell you to restart your router. When it's your own site, or one you look after, the cause is usually on the domain side, and restarting anything won't help.

This guide is for that case. It takes about five minutes to find which of four things went wrong: your own computer, the domain itself, the nameservers, or a missing DNS record.

What the error actually says

In Chrome the page reads, word for word:

This site can’t be reached

Check if there is a typo in example.com.

If spelling is correct, try running Windows Network Diagnostics.

DNS_PROBE_FINISHED_NXDOMAIN

(On a Mac the last line says Network Diagnostics; on Chromebooks it's Connectivity Diagnostics.) Firefox shows a page titled Server Not Found with "If you entered the right address, you can: Try again later. Check your network connection."

NXDOMAIN is DNS for "no such domain". Chrome asked DNS for the site's address, and DNS answered that the name doesn't exist. That's different from a server that's down: there, the browser gets an address, tries to connect and times out or gets refused. Here it never gets that far. So hosting, WordPress and PHP are not suspects yet.

Step 1: Is it only you?

Before touching the domain, rule out your own machine. It takes a minute.

Try another network. Open the site on your phone with Wi-Fi off. If it loads, the domain is fine.

Ask a public resolver. On Mac, Linux or Windows, run:

nslookup example.com 1.1.1.1
nslookup example.com 8.8.8.8

If both return an address, DNS is working on the internet and only your network has a stale answer. If both say the name can't be found (NXDOMAIN), the problem is real and everyone sees it.

Run an outside check. Paste the address into the free Pingbuddy checkup. It looks the name up from our servers, not from your computer.

If it's only you, clear the caches: in Chrome open chrome://net-internals/#dns and press Clear host cache; on Windows run ipconfig /flushdns; on a Mac run sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder. Also check your hosts file and turn off any VPN or DNS-filtering app. If the site works with a VPN but not without, that's a different problem: see why a site works with a VPN but not without.

Step 2: Look the domain up

Go to lookup.icann.org, type the bare domain (example.com, no www) and look at three lines.

Expiry date. If it's in the past, you've found it. An expired domain stops resolving once the registrar takes it out of DNS, and the timing depends on the registrar and the ending. Follow how to get an expired domain back: it walks through renewal, the redemption period and what to do when the domain sits in someone else's account.

Domain status. These are EPP status codes, and ICANN explains each one. The ones that cause NXDOMAIN:

  • clientHold: the registrar has told the registry not to publish the domain. Common reasons: an unpaid renewal, a contact-verification email nobody confirmed, or an abuse complaint. Log in to the registrar or contact their support.
  • serverHold: the same, set by the registry. Again, the registrar is the one to call.
  • redemptionPeriod or pendingDelete: the domain expired and was deleted. See the expired-domain guide above.

clientTransferProhibited and similar "prohibited" codes are normal locks and don't stop a site from working.

Nameservers. Write them down. You'll need them in step 3.

Step 3: Check the nameservers

Nameservers decide where the domain's DNS records live. If they point somewhere that doesn't have the records, every lookup ends in NXDOMAIN, even though the domain is paid up and the server is fine.

This usually happens after a change:

  • The site moved hosts and someone switched the nameservers to the new host before the DNS zone was created there.
  • Someone added the domain to Cloudflare but never finished, or deleted the zone later, while the registrar still points to Cloudflare's nameservers.
  • A typo in a nameserver when it was typed by hand at the registrar.
  • The old DNS provider was cancelled, and the nameservers still point to it.

To check, compare the nameservers from step 2 with the place where you think the DNS records are managed. If they say *.ns.cloudflare.com, the records must be in a Cloudflare account. If they name your host, the records must be in the hosting panel. If neither account has a zone for the domain, either create it there or set the nameservers back to the provider that has it.

A nameserver change can take from minutes to a day or two to be seen everywhere, because resolvers keep the old answer until it expires. If the DNS provider itself is having a bad day, its status page will say so: we track Cloudflare, GoDaddy and Namecheap.

Step 4: Check the record for the exact name

Sometimes the domain works and one name doesn't. example.com opens, but www.example.com shows NXDOMAIN, or the other way round. Or a subdomain such as shop.example.com stopped working after a DNS cleanup.

Look up each name on its own:

nslookup example.com 1.1.1.1
nslookup www.example.com 1.1.1.1

The name that fails is missing a record. Open the DNS zone (in the place the nameservers point to) and add it:

  • the bare domain usually needs an A record with the server's IP address;
  • www and subdomains usually need a CNAME to the host's address, or an A record.

Your host's docs list the exact values. Webflow, Shopify, Wix and Squarespace each publish their own. A common trap after moving a site: the old zone had a www record, the new one doesn't, and every link that includes www breaks.

After the fix: why it can take a while

Fixing DNS doesn't always work instantly. Resolvers remember answers:

  • a normal record is kept for its TTL, often 5 minutes to an hour;
  • a "name doesn't exist" answer is kept too, for a time taken from the zone's SOA record.

So someone who hit the error five minutes ago may keep seeing it for a while after you fix it. Test with nslookup against 1.1.1.1 and 8.8.8.8: once they return an address, the fix is live and the rest of the internet catches up. Tell the client to try their phone on mobile data, or to clear Chrome's host cache.

If the domain was expired or on hold, also check the SSL certificate once the site opens again. A certificate that couldn't renew while the domain was down can expire in the meantime, and then visitors get a privacy warning instead: see your connection is not private on your own site.

Quick reference

You seeLikely causeFix
Works on phone, not laptopOld cache, VPN, hosts fileClear caches
Expiry date passedDomain expiredRenew or restore
Status: client or server holdRegistrar or registry holdCall the registrar
Nameservers lead to an empty accountUnfinished moveAdd the zone or revert
Only www or a subdomain failsRecord missingAdd A or CNAME

Catch it before the client does

On a client's site, the worst version of this error is the one the client finds first. Two things help.

Watch the expiry dates. A common cause on client sites is a domain that ran out. Paste up to 50 domains into the domain expiry checker to see every date at once. Pingbuddy watches the domain and SSL certificate of every site you add, on every plan, and warns 14, 7 and 1 day before either runs out. On Agency, the domain table lists all of them with a Domain < 30 days filter and CSV export.

Get an alert when DNS fails. Pingbuddy checks each site every 5 minutes on Free and every minute on Pro and Agency. When the name stops resolving, the alert says: "Its web address doesn't lead anywhere right now. This often happens when a domain expires or its settings were changed." On the incident page, the technical line for whoever fixes it reads "DNS lookup failed". You get it on Telegram or email on every plan, and on Discord or Slack on Pro and Agency.

To check a site right now, paste its address into the free checkup below. It shows whether the name resolves, whether the site answers, and when its SSL certificate and domain expire.

FAQ

Does DNS_PROBE_FINISHED_NXDOMAIN mean my site is down?
Not exactly. The server may be fine. The error means DNS answered that the name doesn't exist, so the browser never got an address to connect to. For visitors the result is the same: nobody can open the site until the domain or its DNS is fixed.
How long does it take to work again after I fix the DNS?
Often a few minutes, sometimes a few hours. Resolvers remember a 'name doesn't exist' answer for a while, set by the zone's SOA record, and remember normal records for their TTL. Test with a public resolver such as 1.1.1.1 or 8.8.8.8 to see the new answer before your own network does.
Why does the site work on my phone but not on my laptop?
Then the domain is fine and the problem is local: an old cached answer, a hosts file entry, a VPN, or a DNS setting on that computer or network. Clear Chrome's host cache at chrome://net-internals/#dns, flush the system DNS cache and try again.
Can a monitor warn me before a client sees this error?
Yes. Pingbuddy checks each site every minute on Pro and Agency and every 5 minutes on Free, and sends an alert that the address doesn't lead anywhere when DNS fails. It also warns 14, 7 and 1 day before a domain expires, a common cause of this error.

Run a free Pingbuddy checkup on any site: see whether it answers and how fast, when its SSL certificate and domain expire, and whether secret keys are visible in its public code.

Run free checkup →