DNS Error Messages and Response Codes (RCODEs): Complete Troubleshooting Reference
A DNS error message is a protocol response code (RCODE) or client network error string returned when a stub or recursive resolver cannot translate a hostname into a valid IP address. Authoritative nameservers and recursive resolvers set 4-bit header RCODEs (and 16-bit Extended DNS Error codes under RFC 8914) to report non-existent domains, cryptographic validation failures, or policy refusals. This reference maps every IANA DNS RCODE, Chromium browser error, and SMTP DNS failure to its root cause and diagnostic tool.
All IANA DNS Response Codes (RCODEs 0 to 10) and NODATA
The table below defines every IANA-registered response code a resolver or nameserver can return, the wire semantics, and the production failure each one usually carries:
| RCODE & Name | Decimal / Hex | Governing RFC | Wire Meaning | Most Common Production Cause |
|---|---|---|---|---|
| RCODE 0: NOERROR | 0 / 0x0 | RFC 1035 section 4.1.1 | Query succeeded | Valid answer returned in the ANSWER section |
| Pseudo-Code: NODATA (NOERROR + 0 Answers) | 0 with ANCOUNT=0 | RFC 2308 section 2.2 | Name exists, requested RR type does not | Querying AAAA or TXT on a host that only has an A record, or an Empty Non-Terminal |
| RCODE 1: FORMERR (Format Error) | 1 / 0x1 | RFC 1035 section 4.1.1 | Server unable to interpret the query packet | Malformed DNS header, unsupported EDNS option, or firewall packet mangling |
| RCODE 2: SERVFAIL (Server Failure) | 2 / 0x2 | RFC 1035 & RFC 4035 | Resolver failed to complete the lookup | Broken DNSSEC chain (mismatched DS, expired RRSIG) or all authoritative NS timed out |
| RCODE 3: NXDOMAIN (Non-Existent Domain) | 3 / 0x3 | RFC 1035 & RFC 2308 | Queried domain name does not exist | Typo, deleted subdomain, expired domain (clientHold), or a negative cache hit |
| RCODE 4: NOTIMP (Not Implemented) | 4 / 0x4 | RFC 1035 section 4.1.1 | Server does not support the requested query kind | Sending IQUERY (obsoleted by RFC 3425) or AXFR to a recursive resolver |
| RCODE 5: REFUSED (Query Refused) | 5 / 0x5 | RFC 1035 section 4.1.1 | Server refuses to answer by policy | Lame delegation (NS holds no zone for the domain), ACL block, or rate limiting |
| RCODE 6-8: YXDOMAIN / YXRRSET / NXRRSET | 6, 7, 8 | RFC 2136 | Dynamic DNS update prerequisite failed | Dynamic nsupdate prerequisite collision |
| RCODE 9: NOTAUTH (Not Authoritative) | 9 / 0x9 | RFC 2136 & RFC 8945 | Server not authoritative for the zone, or TSIG failed | Bad TSIG key on a zone transfer (AXFR) or an unconfigured secondary zone |
| EDNS0 Extended DNS Errors (EDE, Info-Codes 0-29) | OPT Code 15 | RFC 8914 | Detailed sub-reason attached to SERVFAIL / NXDOMAIN / REFUSED | EDE 6 (DNSSEC Bogus), EDE 15 (Blocked), EDE 18 (Prohibited), EDE 22 (No Reachable Authority) |
The practical reading order starts with RFC 8914 Extended DNS Errors: both 1.1.1.1 and 8.8.8.8 attach EDE sub-codes to their JSON DoH responses, so a bare SERVFAIL that used to be a dead end now often arrives with a machine-readable reason (DNSSEC Bogus, Blocked, Prohibited, No Reachable Authority) that maps straight to the fix.
1. Browser, OS, and Runtime DNS Error Strings (Chromium, Windows, macOS, Node.js)
Browsers and runtimes translate the wire-level RCODEs (or the absence of any answer) into their own user-facing strings. The table below maps each string back to the RCODE and layer it actually represents:
| Error String | Where It Appears | Underlying DNS Cause | What It Actually Tells You |
|---|---|---|---|
| DNS_PROBE_FINISHED_NXDOMAIN | Chromium / Chrome / Edge | RCODE 3 (NXDOMAIN) from every resolver, or a captive-portal DNS hijack returning it | The name genuinely does not resolve: check spelling, zone records, and domain expiry |
| net::ERR_NAME_NOT_RESOLVED (-105) | Chromium network stack | Resolution failed at the stub-resolver layer before any RCODE: no upstream reachable or local config broken | Resolver reachability and local DNS settings, not the zone itself |
| "DNS server isn't responding" (Windows diagnostics) | Windows network troubleshooter | The configured resolver (router or ISP DNS) times out on every query | Switch to a working public resolver, then retest the zone |
| DNS_PROBE_FINISHED_NO_INTERNET | Chromium / Chrome / Edge | No network path to any resolver: the DNS failure is a symptom of total connectivity loss | Physical/network layer first; DNS diagnostics only after connectivity returns |
| DNS_PROBE_FINISHED_BAD_CONFIG | Chromium / Chrome / Edge | The OS resolver configuration is invalid (bad nameserver entry, broken VPN adapter) | Reset the adapter DNS settings to DHCP or a valid resolver |
| getaddrinfo EAI_AGAIN / ENOTFOUND | Node.js and libc (containers, Docker) | EAI_AGAIN: resolver unreachable, retries exhausted; ENOTFOUND: resolver returned NXDOMAIN for the name | EAI_AGAIN is upstream reachability; ENOTFOUND maps to the zone-level NXDOMAIN |
Client-side stub errors like DNS_PROBE_FINISHED_NXDOMAIN and ERR_NAME_NOT_RESOLVED are the browser's rendering of upstream RCODE 3 and stub-resolver timeouts respectively: the fixes range from flushing the local cache to verifying that the authoritative zone still publishes the record. The 7 troubleshooting guides below cover each error string with its own recovery path:
Website Not Resolving? DNS Causes and Fixes
Follow a step-by-step diagnostic tree to isolate why a domain name fails to resolve across local networks and global resolvers.
DNS_PROBE_FINISHED_NXDOMAIN: Causes and Fixes
Fix Chrome RCODE 3 (NXDOMAIN) errors by testing public DoH resolvers, flushing stub caches, and verifying zone delegation.
ERR_NAME_NOT_RESOLVED: 6 Fixes for Chrome & Edge
Resolve Chromium net_error -105 failures by clearing the HostResolver cache, checking Secure DNS templates, and resetting Winsock.
"DNS Server Not Responding": 9 Fixes for Windows & macOS
Repair Windows and macOS recursive resolver timeouts by testing UDP port 53 reachability and switching to Anycast DNS servers.
Site Down After a DNS Change? Recovery Guide
Triage post-migration website outages caused by stale TTL caches, unprovisioned zones, orphaned DS records, or SSL mode loops.
Email Stopped Working After DNS Change
Restore broken inbound and outbound email after a nameserver switch by repairing MX, SPF, DKIM, and autodiscover records.
MX Record Not Working? How to Fix Broken Mail Routing
Diagnose and fix MX records that fail to resolve, point to CNAME aliases, or route mail to shadowed legacy servers.
2. Email Authentication (SPF/DMARC) and SSL/TLS DNS Error Guides
Email failures carry their own DNS-derived error surface: SPF evaluation codes, signature failures, and SMTP rejections that name a DNS cause. The TLS layer fails on DNS too, because certificates bind to whatever hostname the records actually route to. These guides decode each one:
SPF PermError: Causes and Fixes
Fix permanent SPF evaluation failures caused by exceeding the 10-DNS-lookup limit, duplicate v=spf1 records, or syntax errors.
SPF TempError: Causes and Fixes
Resolve transient SPF 4xx deferrals triggered by upstream DNS timeouts or SERVFAIL responses on included sender domains.
DKIM Failing? Diagnosis and Fixes
Repair DKIM signature verification failures caused by missing selector records, corrupted 2048-bit TXT strings, or body-hash changes.
SSL Certificate Errors: Causes and Fixes
Fix browser HTTPS certificate warnings caused by wrong A record IPs, CAA issuance blocks, expired chains, or Cloudflare SSL loops.
SMTP 550 5.7.26: Unauthenticated Mail Rejected
Resolve Gmail and Google Workspace 550 5.7.26 rejections by aligning SPF, DKIM, and DMARC records for bulk and transactional mail.
SMTP 554 5.4.14: Hop Count Exceeded Mail Loop
Stop Microsoft 365 and Exchange 554 5.4.14 mail routing loops caused by misconfigured MX targets and split-delivery connectors.
3. Live Browser-Based DNS Error Diagnostic Tools
Every error above reduces to a question one of these tools answers in the browser: which resolvers disagree, whether the delegation chain holds, whether DNSSEC validates, and how long the failing caches persist. Run the one that matches your error string:
DNS Propagation Checker
Compare live DNS answers, TTLs, and RCODEs across 9 global public resolvers simultaneously with expected-value matching.
DNS Delegation Checker
Verify parent-to-child NS consistency, SOA serial synchronization, and in-bailiwick glue records to detect lame delegations.
DNSSEC Checker and Validator
Inspect DS, DNSKEY, and RRSIG chains to pinpoint the exact cryptographic mismatch causing validating resolvers to return SERVFAIL.
DNS Resolver Tester
Compare side-by-side responses and DNSSEC validation flags across major public recursive resolvers in one pass.
DNS TTL Checker
Inspect remaining cache timers and SOA negative-cache ceilings (RFC 2308) to see how long stale NXDOMAIN answers persist.
How to Flush DNS Cache (All OS & Browsers)
Clear stale local DNS cache entries on Windows, macOS, Linux, and Chromium browsers using exact command-line instructions.
Read the RCODE first, confirm it with the matching tool, and the error message stops being a dead end: the code names the failing layer, and the tool shows the failing record.
Frequently Asked Questions
What is the difference between NXDOMAIN and NODATA? +
NXDOMAIN (RCODE 3) means the queried domain name itself does not exist in the DNS namespace, while NODATA (NOERROR with zero answers, RFC 2308 section 2.2) means the name exists but carries no record of the requested type. A browser NXDOMAIN error follows the first, and a missing AAAA on an IPv4-only host is the classic second.
What causes DNS RCODE 2 (SERVFAIL)? +
SERVFAIL means the resolver failed to complete the lookup, and the two dominant production causes are a broken DNSSEC chain (an orphaned or mismatched DS record at the parent, or expired RRSIG signatures) and every authoritative nameserver for the zone timing out or refusing.
What does EAI_AGAIN mean in Node.js and Docker? +
EAI_AGAIN is the libc getaddrinfo retry-exhausted code: the resolver could not reach any upstream DNS server within the timeout, so the failure is network or resolver reachability rather than a negative answer. In Docker it usually points at a container with a broken or missing resolv.conf upstream.
Does RCODE 5 (REFUSED) mean my domain is blocked? +
No, REFUSED is a server policy answer, not a block of your domain: the queried server refuses to answer for that zone, which most often means a lame delegation (the nameserver holds no zone for the domain), an ACL restriction, or rate limiting. Query a different resolver to separate policy refusals from real DNS failures.
What are RFC 8914 Extended DNS Errors (EDE)? +
Extended DNS Errors attach a 16-bit information code to otherwise generic responses, so a bare SERVFAIL can carry a specific reason such as EDE 6 (DNSSEC Bogus), EDE 15 (Blocked), EDE 18 (Prohibited), or EDE 22 (No Reachable Authority). Major public resolvers now surface these codes in their JSON DoH responses and dashboards.