What it does
Paste what dig printed and each part is explained: the status (status:) and every flag, Extended DNS Error (EDE) codes named from RFC 8914 and the IANA registry, and the records and TTLs of the answer, authority and additional sections as tables. For NXDOMAIN and NODATA the negative cache time is worked out from the SOA in the authority section, and one next command to try is suggested for the status. Nothing is queried — only the pasted text is read, and lines it does not know are listed as "not understood" instead of being guessed.
Examples
| In the output | Meaning |
|---|---|
status: SERVFAIL · EDE: 6 (DNSSEC Bogus) | the resolver failed DNSSEC validation. If +cd gets an answer, the signatures are the problem |
flags: qr aa rd · WARNING: recursion requested but not available | the authoritative server answered (aa) and it does not recurse (no ra) |
flags: qr rd ra ad | a resolver's answer that passed DNSSEC validation. No aa, so TTLs can be time left in its cache |
status: NOERROR · ANSWER: 0 · SOA in authority | NODATA — the name exists but has no record of that type |
status: NOERROR · ANSWER: 0 · NS in authority · no aa | a referral — the server tells you whom to ask next |
authority SOA … 1209600 300 with TTL 296 | negative cache = the smaller of the SOA TTL and MINIMUM → 296 s left |
status: REFUSED · EDE: 18 (Prohibited) | this client address is not allowed (allow-query, access-control) |
Common mistakes
- Judging from
+short—+shortprints no status. When a CNAME points to a name that does not exist, the status is NXDOMAIN but+shortshows just the CNAME target and looks fine. Drop+shortwhen you are looking for a cause. - Reading a missing
adas a validation failure — unsigned zones, non-validating resolvers and+cdor+noadflagqueries have noadeither. A validation failure shows up as SERVFAIL (with an EDE). - Taking a resolver's TTL as the zone setting — without
aathe TTL is the time left in a cache. To see the value in the zone, ask the authoritative server with+norecurse. - Reading REFUSED as "the name does not exist" — that is NXDOMAIN. REFUSED means the server chose not to answer this query (recursion refused, access list, not authoritative).
How it was checked
In a Docker container (Ubuntu 24.04) a BIND 9.18.39 authoritative server and an Unbound 1.19.2 validating resolver served test zones with deliberately broken DNSSEC (a changed record, expired signatures, signatures not valid yet, a DS that matches no key), an unreachable authoritative server, access lists and a TXT too large for UDP. 79 outputs of dig 9.18.39 were collected (NOERROR, NXDOMAIN, NODATA, SERVFAIL, REFUSED, NOTIMP; +cd, +norecurse, +dnssec, +multi, +qr, +trace, +tcp, +ttlunits, +short, +yaml). Status, flags, EDE, the TTL and type of every record in each section, the SOA MINIMUM, server and size were read by this tool and by a separate checker built on the dnspython parser, and all 1288 comparisons matched. The tool knows all 36 EDE codes in the registry (0–35).
FAQ
How do I tell whether a SERVFAIL is caused by DNSSEC?
Repeat the query with +cd. If +cd gets an answer, the resolver's DNSSEC validation rejected it and the zone's signatures or the parent's DS need fixing. Resolvers that support EDE print the reason too, such as EDE: 6 (DNSSEC Bogus) or 7 (Signature Expired). If +cd still fails, ask an authoritative server directly with dig +norecurse @<authoritative server> <name>.
A record I just created returns NXDOMAIN
If anyone asked for the name before it existed, resolvers remember "does not exist" for the negative cache time. That time is the smaller of the TTL and the last number (MINIMUM) of the SOA in the NXDOMAIN response's authority section; in output from a resolver, the TTL shown is the time left. If the authoritative server already returns the record, waiting is enough.
Is the pasted output sent anywhere?
No. The text is read in this browser only, and the tool sends no request at all, DNS queries included. It is not passed to analytics or ads either. See the privacy notice.