Website Not Resolving? How to Diagnose and Fix DNS Resolution Failures
A non-resolving website (DNS_PROBE_FINISHED_NXDOMAIN or ERR_NAME_NOT_RESOLVED) is a DNS lookup failure where recursive resolvers cannot translate your domain name into an IPv4 or IPv6 server address. The failure stems from either a global zone error or a local cache. The DNS response code pinpoints the exact root cause.
60-Second Triage: Decoding the Exact DNS Response Code (NXDOMAIN, SERVFAIL, REFUSED)
Browser errors like DNS_PROBE_FINISHED_NXDOMAIN and ERR_NAME_NOT_RESOLVED occur at the DNS layer before any TCP, TLS, or HTTP packet reaches your server. Isolating root causes requires checking two factors: whether failures are global or local, and which 4-bit DNS response code (RCODE) resolvers return. The table below maps each failure status to its meaning and root cause.
| DNS Status / RCODE | Browser Error Displayed | What the Status Actually Means | Most Likely Root Cause |
|---|---|---|---|
| NXDOMAIN (RCODE 3) | DNS_PROBE_FINISHED_NXDOMAIN | Non-Existent Domain: Hostname does not exist in authoritative zones. | Missing root records, typos, or registrar clientHold. |
| SERVFAIL (RCODE 2) | ERR_NAME_NOT_RESOLVED | Server Failure: Resolvers encounter validation breakdowns or timeouts. | Broken DNSSEC Delegation Signer (DS) records or dead nameservers. |
| REFUSED (RCODE 5) | ERR_NAME_NOT_RESOLVED | Query Refused: Nameservers reject answering for this domain. | Lame Delegation: delegations point to nameservers lacking an active zone. |
NOERROR (NODATA) | ERR_NAME_NOT_RESOLVED | Hostname Exists, Record Missing: Zone exists, but requested address record is absent. | Apex retains MX or TXT records, but web server address records were omitted. |
Global NOERROR (Local Fails) | DNS_PROBE_FINISHED_NXDOMAIN | Healthy Global DNS: Public resolvers return IPs while local lookups fail. | Negative caching from SOA MINIMUM timers or stale resolver caches. |
Checking public resolvers across Cloudflare (1.1.1.1), Google (8.8.8.8), and AliDNS (223.5.5.5) in the DNS Propagation Checker isolates whether outages affect the entire internet or remain local. Global failures require registrar and zone record audits in Section 2, while local failures warrant workstation fixes in Section 3. Review all status codes in DNS Error Messages: The Complete Reference.
7 Domain-Side Causes When Your Website Fails to Resolve for Everyone
Global DNS resolution failures across all networks stem from 7 configuration errors across registrar account status, zone apex records, DNSSEC chains, and nameserver delegations.
- Domain Suspended by Registrar clientHold or serverHold: Unconfirmed registrant emails or expired terms trigger an EPP
clientHoldorserverHoldstatus, purging nameservers from the parent TLD zone and causing universalNXDOMAINerrors. Check status in the WHOIS / RDAP Lookup to verify contact details or renew. - Missing Root (@) or www Subdomain Address Record: Publishing an A Record only for
www.example.comleaves apex root (example.com, designated@) returningNOERRORwithout answers (NODATA), while configuring only root leaveswwwunresolvable. Both prefixes require address entries, verifiable via A Record Lookup. - Broken DNSSEC Chain of Trust (Stale DS Record Producing SERVFAIL): Migrating DNS hosts without deleting old DS records at the registrar causes validation failures. Resolvers reject zones whose parent DS records point to discarded keys, returning
SERVFAIL. Align keys with What Is DNSSEC standards and verify chain continuity in the DNSSEC Checker. - Lame Delegation (Nameservers Missing an Active Zone File Returning REFUSED): Pointing registrar NS Record delegations to a DNS host before activating your zone returns
REFUSED(RCODE 5) because nameservers have no loaded records. Audit delegation discrepancies using the DNS Delegation Checker. - Editing Records in the Wrong Control Panel: Adding records in a registrar portal while delegation points to external nameservers leaves live traffic unaffected. Resolvers query authoritative nameservers at the registry level, ignoring inactive legacy panels. Changes apply only inside the active DNS dashboard.
- Doubled Domain Suffix in the Host Name Field (www.example.com.example.com): DNS panels often append apex domain names automatically. Entering fully qualified domain names like
www.example.cominstead ofwwwcreateswww.example.com.example.com, leavingwww.example.comreturningNXDOMAIN. - Registrar Nameserver Changes in 48-Hour TLD TTL Window: Delegating nameservers requires resolvers to expire cached parent NS records. TLD registries publish delegations with TTL values up to 48 hours, causing queries to split between nameservers as explained in DNS Propagation.
Systematic verification of these seven domain-side misconfigurations eliminates the underlying authoritative root cause. For websites experiencing outages immediately following an infrastructure migration, execute the recovery procedure in Site Down After a DNS Change?
5 Client-Side Fixes When the Website Works on Mobile Data But Not Your Computer
To fix a website that loads normally on your smartphone's cellular data (and passes global DoH checks) while failing on your computer or office Wi-Fi, execute 5 local cache and resolver fixes.
- Clear Negative Caching (NXDOMAIN Cached from Premature Visits): Querying a domain before its record exists causes resolvers to cache negative
NXDOMAINresponses. RFC 2308 dictates retaining negative results for the duration in the zone'sSOA MINIMUMfield (300 to 86,400 seconds). Resolvers reject lookups until this timer expires. - Flush Operating System DNS Caches and Browser Socket Pools: Workstation operating systems and browsers maintain internal address caches. Clearing workstation caches requires terminal commands, while browser socket pools demand a purge via
chrome://net-internals/#dnsandchrome://net-internals/#sockets. Detailed commands appear in How to Flush DNS Cache. - Switch Workstation and Router Resolvers to Cloudflare (1.1.1.1) or Google (8.8.8.8): Consumer ISP resolvers often enforce aggressive caching policies, ignoring record TTL expirations. Replacing default ISP resolvers with public anycast resolvers like Cloudflare (1.1.1.1) or Google Public DNS (8.8.8.8) routes queries through compliant, low-latency caches.
- Inspect Local Hosts Files for Stale Overrides: Operating system stub resolvers evaluate local hosts files before querying network DNS. Forgotten development mappings to
127.0.0.1or staging IPs lock machines to dead addresses. - Reboot Local Routers and Pause Filtering: Consumer routers store stale entries in volatile memory forwarder caches; power-cycling wipes this memory. In addition, corporate VPNs and antivirus suites with DNS filtering intercept port 53 traffic, producing false blocks.
Disabling Wi-Fi on a smartphone and querying the URL over cellular data isolates the failure in under five seconds. Success on cellular connections confirms that authoritative domain records are intact, focusing remaining troubleshooting on local resolver caches and workstation network configurations.
Is It a DNS Failure or a Web Server Failure? (Browser Error Comparison Table)
Not every browser "This site can't be reached" screen indicates a DNS failure; several error codes prove that DNS resolved your IP address successfully, but destination web servers or firewalls rejected the connection. The table below distinguishes DNS resolution errors from TCP, firewall, and SSL/TLS server errors.
| Browser Error Code | Did DNS Resolve the IP? | Failing Layer | Actual Root Cause & Technical Fix |
|---|---|---|---|
DNS_PROBE_FINISHED_NXDOMAIN / ERR_NAME_NOT_RESOLVED | No (DNS Failed) | DNS Layer (Port 53 / DoH) | Domain or address record missing, DNSSEC validation failed, or domain is suspended on registrar clientHold. |
ERR_CONNECTION_REFUSED | Yes (DNS Worked!) | TCP / Web Server Layer (Port 80/443) | Resolver returned the server IP address, but no service listens on port 80/443, or the web daemon stopped. |
ERR_CONNECTION_TIMED_OUT | Yes (DNS Worked!) | Firewall / Network Layer | Resolver returned the server IP address, but firewalls, security groups, or packet filters drop inbound port 80/443 traffic. |
ERR_TOO_MANY_REDIRECTS | Yes (DNS Worked!) | HTTP / CDN Proxy Layer | DNS and TCP handshakes succeeded; web server or proxy entered an infinite HTTP-to-HTTPS redirect loop. |
NET::ERR_CERT_COMMON_NAME_INVALID | Yes (DNS Worked!) | TLS / SSL Certificate Layer | DNS resolved the IP and the server responded, but the SSL certificate does not match the requested hostname. |
Distinguishing DNS lookups from subsequent connection phases prevents wasted diagnostic hours. Browsers displaying ERR_CONNECTION_REFUSED or ERR_CONNECTION_TIMED_OUT have completed name resolution; troubleshooting belongs entirely on web daemon status (systemctl status nginx) and firewall accessibility.
How to Diagnose Any Non-Resolving Domain from the Terminal (4 dig Commands)
System administrators pinpoint the exact link where domain resolution breaks in under 30 seconds by running 4 targeted dig and whois commands in the terminal.
# Command 1: Check RCODE status (look for "status: NXDOMAIN" or "status: SERVFAIL")
dig example.com A @1.1.1.1
# Command 2: Test with DNSSEC Checking Disabled (+cd) if SERVFAIL occurs
dig example.com A @1.1.1.1 +cd
# Command 3: Trace delegation from Root (.) -> TLD (.com) -> Authoritative NS
dig +trace example.com A
# Command 4: Check WHOIS for clientHold or serverHold status
whois example.com | grep -i "status" - Inspect Header Status Fields in Command 1: Running
dig example.com A @1.1.1.1displays the DNS header. Examine thestatus:token:NXDOMAINsignifies missing records,SERVFAILdenotes broken DNSSEC chains, andREFUSEDindicates the nameserver denies authority. - Evaluate DNSSEC Validation with the Checking Disabled Flag in Command 2: Adding
+cdinstructs resolvers to bypass DNSSEC verification. Scenarios where Command 1 yieldsSERVFAILwhile Command 2 returnsNOERRORwith your IP address prove outages stem from broken DNSSEC DS records. - Trace the Hierarchical Delegation Chain in Command 3: Executing
dig +trace example.com Aqueries root nameservers, descends into TLD registries, and concludes at authoritative nameservers. Interrupted TLD layers expose missing glue records, while final hop failures reveal zone errors. - Audit Registrar EPP Status Codes in Command 4: Piping WHOIS output into grep inspects registry EPP status codes directly. Discovering
clientHoldorserverHoldflags confirms an administrative registry freeze, directing resolution efforts to registrar panels.
Executing this terminal sequence isolates whether faults reside in registrar delegations, zone apex addresses, cryptographic signatures, or remote server availability.
Mastering diagnostic workflows for a website not resolving eliminates guesswork. Differentiating between DNS_PROBE_FINISHED_NXDOMAIN and ERR_NAME_NOT_RESOLVED, decoding NXDOMAIN vs SERVFAIL vs REFUSED codes, checking ICANN clientHold status, contrasting missing A records vs broken DNSSEC DS records, and executing targeted local cache flushes restore reachability across resolvers and clients.
Frequently Asked Questions
What is the difference between ERR_NAME_NOT_RESOLVED and ERR_CONNECTION_REFUSED? ▾
ERR_NAME_NOT_RESOLVED (and DNS_PROBE_FINISHED_NXDOMAIN) means DNS failed to find an IP address for the domain. ERR_CONNECTION_REFUSED means DNS succeeded and returned an IP address, but the web server at that IP is turned off, blocking port 80/443, or not running NGINX/Apache.
Why does my newly registered domain still not resolve after 24 hours? ▾
New domains that fail to resolve after 24 hours usually have one of two issues: either no A or CNAME record was added inside the DNS zone yet (parking records were deleted without adding a web host IP), or the domain was placed on ICANN clientHold because the owner has not clicked the verification link sent to their registrant email address.
Why does my website load fine at the office, but fail on my phone's 5G cellular network? ▾
In practice, when a website works on office Wi-Fi (IPv4) but fails on 5G mobile networks (IPv6), the culprit is almost always either a broken IPv6 AAAA record (mobile networks prefer IPv6 and hit a dead IP) or a broken DNSSEC DS record (mobile carrier resolvers enforce strict DNSSEC validation and return SERVFAIL while office routers fail to validate DNSSEC).
Why does my root domain (example.com) resolve, while www.example.com says "Site can't be reached"? ▾
In real-world DNS setups, example.com (@) and www.example.com (www) are treated as two separate hostnames. Creating an A record only for @ does not automatically cover www; web administrators add a CNAME record for www pointing to example.com (or a second A record for www) in their DNS table.
Last verified: 2026-11-18