Use it when a domain resolves on some networks and returns SERVFAIL on others, or after a key change or a move to another DNS provider.
DNSSEC Packet Evidence
1. dig <name> A → SERVFAIL? Repeat with +cd.
2. Answer with +cd → validation fails.
3. dig <name> A +dnssec — RRSIG expiration date in the past?
4. dig <domain> DS +short versus dig <domain> DNSKEY — does the key tag match a key?
5. Fix at the DNS provider (signing) or the registrar (DS record).
parent holds a DS record → DS matches a key in the zone's DNSKEY set → that key signs the zone's keys → records carry valid, unexpired RRSIGs → resolver validates → answer with the ad flag
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
dig example.com A +dnssecVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational verification Verify boundary
dig example.com A +dnssec
dig example.com A +cd
dig example.com DNSKEY +multiline
dig example.com DS +short
delv example.com A
With +dnssec, the answer section contains RRSIG records next to the data, and the flags line shows ad if the resolver validated the answer. Compare a plain query with one using +cd: SERVFAIL without it and an answer with it means validation is failing. The DNSKEY query lists the zone's keys with their key tags; the DS query, answered by the parent, shows the fingerprint and key tag the parent expects — the key tag must match the zone's key-signing key. delv, where available, performs validation itself and prints the reason for a failure. RRSIG records show their inception and expiration dates.
Known-good: the ad flag is set, signatures are within their dates, and the DS key tag matches a key in the zone.
Step 2 Failure isolation workflow Narrow the fault
- SERVFAIL from the resolver; the answer appears with
+cd. Validation is failing; check signature dates and the DS record. - RRSIG expiration date is in the past. Re-signing has stopped on the zone's servers.
- The DS key tag matches no DNSKEY. The parent still refers to an old key; update the DS record at the registrar.
- The zone is no longer signed but a DS remains. Resolvers expect signatures and reject the unsigned answers; remove the DS.
- Only one resolver fails. Its clock is wrong, or it holds old key data in its cache.
- The domain works from some networks and not others. Some resolvers validate and some do not.
- No
adflag although the zone is signed. The resolver in use does not validate, or the DS record is missing so the chain is not connected. - Signed answers time out. They are large; TCP port 53 or large UDP replies are blocked.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
A validation failure looks exactly like the domain being down: SERVFAIL. If the same query with +cd returns the answer, validation is the problem. Usual causes: expired signatures, a DS record at the parent that matches no key, or a leftover DS for an unsigned zone.
dig <name> A +dnssec— RRSIG records, and theadflag if validated.dig <name> A +cd— the answer with validation switched off.dig <domain> DNSKEY +multiline— the zone's keys and key tags.dig <domain> DS +short— what the parent expects.delv <name> A— validates and prints the reason for a failure.
ReferenceWhat it is1 section · depth on demand
ReferenceWhy it matters1 section · depth on demand
Why it matters operationally
DNSSEC changes how a failure looks. If a signature does not check out, a validating resolver does not pass the answer on with a warning — it returns SERVFAIL, exactly as if the domain's servers were down. A domain can thus vanish for everyone who uses validating resolvers while it still works for everyone else, because of an expired signature or a mismatch after a key change.
ReferenceHow it works1 section · depth on demand
How it works
The record types.
| Type | Content | Where |
|---|---|---|
| RRSIG | The signature over one set of records, with the dates between which it is valid | Alongside every signed record set |
| DNSKEY | The zone's public keys. Flag value 257 marks the key-signing key, 256 the zone-signing key | At the top of the zone |
| DS | A fingerprint of the zone's key-signing key | In the parent zone |
| NSEC / NSEC3 | States which names and types exist, so that a "does not exist" answer can also be proven | Throughout the zone |
The chain of trust. A resolver starts from the root's key, which it has built in. The root signs the DS record for .com; that DS matches a key of .com; .com signs the DS record for example.com; that DS matches the key of example.com; and that key signs the zone's records. Every link must hold. A domain with no DS record in its parent is simply unsigned, and is resolved without validation.
In the query and the answer.
| Flag | Set by | Meaning |
|---|---|---|
| DO (in the EDNS record) | Client | "Include the DNSSEC records in the answer" |
| AD (header) | Resolver | "I validated this answer" |
| CD (header) | Client | "Do not validate; give me the answer anyway" |
The AD flag is the resolver's statement to its client and is only as trustworthy as the path between them.
When validation fails, the resolver answers SERVFAIL. The same query with the CD flag returns the data — which is the quickest proof that the failure is DNSSEC and not reachability.
Typical causes.
- Signatures have expired because re-signing stopped.
- The DS record in the parent does not match any key in the zone — after a key was replaced, or after the zone moved to a provider with different keys.
- A DS record remains in the parent although the zone is no longer signed.
- The validating resolver's clock is wrong, so valid signatures appear expired or not yet valid.
Signed answers are considerably larger, so DNSSEC also depends on large replies getting through: TCP port 53 must be open.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
DNSSEC evidence in packets
DNSSEC adds signatures that let a validating resolver prove an answer is genuine. RFC 4035 defines how it appears in queries and responses:
- DO bit: in the EDNS OPT record; requests DNSSEC records.
- AD bit: in responses; the recursive server considers the data authentic.
- CD bit: in queries; disables validation for that query.
- Records: DNSKEY holds zone keys, RRSIG holds signatures over each RRset, DS in the parent links a delegation to the child's key, and NSEC proves non-existence.
Validation outcomes (RFC 4035)
| State | Meaning | What the client sees |
|---|---|---|
| Secure | A valid chain from a trust anchor | Answer with AD set |
| Insecure | Provably unsigned (no DS at a delegation) | Answer without AD |
| Bogus | Should be signed, but validation fails | SERVFAIL (RCODE 2) |
| Indeterminate | The DNSSEC records can't be obtained | Usually SERVFAIL |
Chain of trust
The resolver trusts the root key (the trust anchor). The root's DS record for net authenticates the net DNSKEY, net's DS for example.net authenticates the child's DNSKEY, and that key verifies the RRSIG on the answer. If any link fails, the result is bogus.
Diagnosing SERVFAIL
| Test | Interpretation |
|---|---|
Query with +cd succeeds, without it SERVFAIL | A DNSSEC validation failure (bogus) |
| Both fail | Not a DNSSEC problem: the servers are unreachable or broken |
| Signature expiry dates in the past | The zone's signing process stopped |
| DS in the parent doesn't match any DNSKEY | A key rollover went wrong |
host$ dig @10.20.0.53 www.example.net A +dnssec +noall +comments +answer | grep -E "flags|RRSIG|status"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20102
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
www.example.net. 300 IN RRSIG A 13 3 300 20261212000000 20261128000000 41022 example.net. <signature>
host$ dig @10.20.0.53 broken.example.org A +noall +comments | grep status
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 7781
host$ dig @10.20.0.53 broken.example.org A +cd +noall +comments | grep status
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7782
host$ dig example.net DS +short
host$ delv @10.20.0.53 www.example.net A
In the RRSIG line, the two dates are the signature's expiry and inception. The key tag (41022) must match a DNSKEY, and that key must match the parent's DS. The SERVFAIL that turns into NOERROR with +cd proves that validation, not reachability, is the problem.
Documented example, not captured output.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Network & Protocols → DNSSEC Packet Evidence. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.