DNS · NXDOMAIN

DNS Error Code NXDOMAIN

The domain name does not exist.

errorLast verified 2026-11-08IANA DNS Parameters
Quick answer

The domain name does not exist.

CodeNXDOMAIN
ProductDNS
Company / originIANA / IETF · International standard
CategoryProtocols & Standards
Platform / versionsRecursive and authoritative DNS servers · RFC 1035 and later
Severityerror
Official sourceIANA DNS Parameters ↗
Last verified2026-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

  1. Step 1

    Check the spelling and the registered domain in a WHOIS lookup.

  2. Step 2

    Confirm that the subdomain exists in the DNS zone and has the requested record type.

  3. Step 3

    If the name is new, allow for DNS propagation and check the authoritative nameservers directly.

When to escalate

Before you escalate: If a DNS error persists across multiple resolvers, check the domain's authoritative nameservers and DNSSEC configuration. Contact the DNS provider or registrar with the queried name, record type, resolver IP, timestamp, and the exact response code.

Related codes

CodeNameWhat it means
SERVFAILSERVFAILThe DNS server failed to complete the resolution.
BADVERSBADVERSThe server does not support the EDNS version used in the query.
FORMERRFORMERRThe DNS server could not interpret the query.
NODATANODATAThe name exists, but it has no record of the requested type.
NOTAUTHNot AuthoritativeThe 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.