Troubleshooting guide
DNS_PROBE_FINISHED_NXDOMAIN: fix it for your domain
NXDOMAIN means DNS answered "this name does not exist". For a site owner, that points to an expired domain, a missing record or broken nameservers.
3 min read9 sectionsUpdated
On this page
# 1. What does a public resolver say?
dig example.com A +short @1.1.1.1
dig www.example.com CNAME +short @8.8.8.8
# 2. Which nameservers does the registry delegate to?
dig example.com NS +short
# 3. Ask one of them directly (bypasses all caches)
dig @ns1.your-dns-host.com www.example.com A
# 4. Trace the full resolution path
dig +trace www.example.com
# 5. Is the domain registered and when does it expire?
whois example.com | grep -iE 'expir|status|name server'| Cause | Signs | Fix |
|---|---|---|
| Domain expired | whois shows expired or redemption status | Renew at the registrar; turn on auto-renew |
| Record missing | Apex works, www does not (or the reverse) | Add the missing A, AAAA or CNAME record |
| Nameservers changed | NS points to a provider without your zone | Point NS back, or recreate the zone at the new provider |
| Typo in record name | wwww or a trailing-dot mistake in the zone | Correct the record |
| DNSSEC broken | dig shows SERVFAIL for validating resolvers | Fix or remove the DS record at the registrar |
| Local issue (visitor side) | Works from other networks | Flush DNS cache; change resolver; check hosts file |
After fixing: TTL and caching
Resolvers cache answers, including negative answers (NXDOMAIN), for a time controlled by the zone's SOA record. After you fix a record, some visitors may keep getting NXDOMAIN until those caches expire. Before planned DNS changes, lower the TTL of the records involved a day in advance so changes spread quickly.
Monitor DNS so you hear first
- DNS checks that confirm a record (A, AAAA, CNAME, MX, TXT, NS) resolves to the expected value.
- Uptime checks on the hostname, from several regions.
- Domain and certificate expiry reminders well ahead of time.
VitalRix synthetic monitoring includes DNS record checks that compare the answer with the value you expect. See the full DNS monitoring guide.
How long does it take for a DNS fix to work?
New records usually resolve within minutes. Visitors who cached the earlier answer may wait until the cached entry expires, often up to an hour, depending on your SOA and record TTLs.
Why does my site work on mobile data but not Wi-Fi?
Different networks use different DNS resolvers. One may have a stale cache or block the domain. Flushing the cache or switching resolver usually confirms it.
Check it now, free
- DNS lookup: A, AAAA, CNAME, MX, TXT, NS, SOA and CAA records.
Related reading
- DNS_PROBE_FINISHED_NO_INTERNET: how to fix it: Fix DNS_PROBE_FINISHED_NO_INTERNET in Chrome: check the connection, restart the router, flush DNS, reset network settings and switch DNS servers.
- Cloudflare error 1016 "Origin DNS error": how to fix it: Fix Cloudflare error 1016 Origin DNS error: CNAME records pointing to names that do not resolve, deleted origins and load balancer pools, with checks.
- 501 Not Implemented: how to fix it: Fix 501 Not Implemented: unsupported HTTP methods, servers and proxies that do not support PATCH or WebDAV, and how it differs from 405 and 500.
- "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_NAME_NOT_RESOLVED: how to fix DNS lookup failures: Fix ERR_NAME_NOT_RESOLVED: missing records, expired domains, broken resolvers and DNSSEC failures, with dig commands that show exactly where lookup fails.
- 404 Not Found: how to find and fix broken pages: Find and fix 404 errors: broken internal links, moved pages, case-sensitive paths and soft 404s, with commands and advice on what actually affects SEO.
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.