Skip to content
MtrXTools

** server can't find example.com: NXDOMAIN

nslookup says the name doesn't exist

Seen in nslookup (Linux, macOS), Windows nslookup (Non-existent domain)

The DNS server answered that the name you queried does not exist at all.

Common causes

  • A typo, or the record was never created or has been deleted.
  • For an IP address, it means the address has no PTR (reverse DNS) record.
  • The domain expired, or the zone is hosted on nameservers the registrar does not point to.
  • Windows nslookup appended a search suffix, so it looked up a different name than you meant.

How to fix it

  1. Create the record, or correct the name you are querying.
  2. Add a trailing dot (`nslookup example.com.`) to stop search suffixes being appended.
  3. For reverse lookups, ask whoever controls the IP range (usually the hosting or ISP) to set the PTR record.
  4. Check the domain's registration and that the registrar's nameservers host the zone.
Look up the name

Got a different message? Paste it into the error explainer.

Related errors

All 22 DNS errors