Learn / Answers

What does NXDOMAIN mean?

NXDOMAIN ("non-existent domain", DNS response code 3) means the DNS server says the name doesn't exist. The lookup worked; the answer is "no such name". The usual causes are a typo, a record that was never created or was deleted, or a search-domain suffix added to a short name.

What it looks like in the packets

  • A DNS query for the name, then a response with rcode 3 (No such name) and no answer records.
  • Apps often retry, or try IPv4 (A) and IPv6 (AAAA) separately, so the same name fails more than once.
  • No connection follows, because there's no address to connect to.

Common causes

  • A typo in a URL, config file, or environment variable.
  • A DNS record that doesn't exist yet or was removed.
  • Split DNS: the name exists only on an internal or VPN resolver.
  • Search domains turning "api" into "api.corp.example".

What to check

  1. Read the queried name letter by letter. Typos are the most common cause.
  2. Look it up against another resolver: nslookup name 1.1.1.1.
  3. If it's internal, check whether the device is using the internal (VPN) DNS server.

Wireshark display filters

  • dns.flags.rcode == 3NXDOMAIN answers
  • dns.qry.name contains "example"lookups for one name

How Blame Finder flags it

Warning when the same name gets three or more NXDOMAIN answers; otherwise Low. Upload a capture and the finding links straight to the packets behind it, with the most likely culprit at the top.