DNS Error Code NXDOMAIN
The domain name does not exist.
The domain name does not exist.
| Code | NXDOMAIN |
| Product | DNS |
| Company / origin | IANA / IETF · International standard |
| Category | Protocols & Standards |
| Platform / versions | Recursive and authoritative DNS servers · RFC 1035 and later |
| Severity | error |
| Official source | IANA DNS Parameters ↗ |
| Last verified | 2026-11-08 |
What does DNS error NXDOMAIN mean?
NXDOMAIN is returned when the authoritative DNS server says the queried name does not exist at all. It is different from NODATA, where the name exists but has no record of the requested type.
Common causes
- The domain or subdomain is misspelled.
- The domain has expired or was never registered.
- The subdomain has not been created in the DNS zone.
How to fix it
- Step 1
Check the spelling and the registered domain in a WHOIS lookup.
- Step 2
Confirm that the subdomain exists in the DNS zone and has the requested record type.
- Step 3
If the name is new, allow for DNS propagation and check the authoritative nameservers directly.
When to escalate
Related codes
| Code | Name | What it means |
|---|---|---|
SERVFAIL | SERVFAIL | The DNS server failed to complete the resolution. |
BADVERS | BADVERS | The server does not support the EDNS version used in the query. |
FORMERR | FORMERR | The DNS server could not interpret the query. |
NODATA | NODATA | The name exists, but it has no record of the requested type. |
NOTAUTH | Not Authoritative | The DNS server is not authoritative for the zone in the query. |
Source & verification
This page was checked against IANA DNS Parameters on 2026-11-08. The code, product, and platform fields are kept separate from the explanation so corrections can be made without changing the URL.
Open Error Codes is independent and not affiliated with IANA / IETF. Always confirm destructive or security-sensitive steps with the official documentation.