GrepBoardTools
Sites ▾

Tools / Network

dig output explainer

Paste the whole output of a dig command (the default form, +multi, +qr or +trace). Nothing is queried — only the text is read.

What you type is calculated only in your browser and is not sent to a server.

🔒 The output is read in this browser; nothing is sent and no DNS query is made.

Response · www.broken.test. A

SERVFAIL
StatusSERVFAIL — Server failure — the server could not produce an answer. From a resolver this is often DNSSEC validation failure, unreachable authoritative servers, or the authoritative server refusing.
Flags
  • qr — this is a response.
  • rd — recursion desired (copied from the query).
  • ra — recursion available: this server resolves names for you.
  • no aa — not an answer from the zone's own server: a resolver's cache or recursion, or a referral. TTLs can be the time left in a cache.
EDE
  • 6 · DNSSEC Bogus — DNSSEC validation ended Bogus — signatures do not check out.
    Extra text: validation failure <www.broken.test. A IN>: signature crypto failed from 127.0.0.2
Question
www.broken.test. IN A
Additional · 1
The count includes the OPT (EDNS) record, shown under EDNS rather than as a record.
EDNS
  • EDNS version 0
  • UDP size 1232 bytes
Server127.0.0.3#53 (UDP) · 4 msec · 132 bytes
at Tue Oct 27 11:19:16 UTC 2026
Next

DNSSEC validation failed (EDE 6). Run the same query with +cd: if an answer comes back, the zone's signatures or DS are broken — the zone owner must fix them.

Read more: dig status: SERVFAIL — split out DNSSEC with +cd

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 outputMeaning
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 availablethe authoritative server answered (aa) and it does not recurse (no ra)
flags: qr rd ra ada resolver's answer that passed DNSSEC validation. No aa, so TTLs can be time left in its cache
status: NOERROR · ANSWER: 0 · SOA in authorityNODATA — the name exists but has no record of that type
status: NOERROR · ANSWER: 0 · NS in authority · no aaa referral — the server tells you whom to ask next
authority SOA … 1209600 300 with TTL 296negative 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 — +short prints no status. When a CNAME points to a name that does not exist, the status is NXDOMAIN but +short shows just the CNAME target and looks fine. Drop +short when you are looking for a cause.
  • Reading a missing ad as a validation failure — unsigned zones, non-validating resolvers and +cd or +noadflag queries have no ad either. A validation failure shows up as SERVFAIL (with an EDE).
  • Taking a resolver's TTL as the zone setting — without aa the 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.