Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

DNSSEC Packet Evidence

Direct answer

DNSSEC adds digital signatures to DNS data so a validating resolver can check that an answer comes from the domain's owner and was not altered. It appears as extra record types — RRSIG, DNSKEY, DS — and two header flags.

When to use this

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.

First 30 seconds

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).

Operational verification

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
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE
Key commanddig example.com A +dnssec
Scope / prerequisiteUse it when a domain resolves on some networks and returns SERVFAIL on others, or after a key change or a move to anoth…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 ad flag 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 references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points

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.

Key checks
  • dig <name> A +dnssec — RRSIG records, and the ad flag 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

Mechanics & mental model

DNSSEC adds digital signatures to DNS data. A resolver that validates can check that an answer really comes from the domain's owner and was not altered on the way. In a packet this shows up as extra record types alongside the normal ones, and as two flags in the header.

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.

TypeContentWhere
RRSIGThe signature over one set of records, with the dates between which it is validAlongside every signed record set
DNSKEYThe zone's public keys. Flag value 257 marks the key-signing key, 256 the zone-signing keyAt the top of the zone
DSA fingerprint of the zone's key-signing keyIn the parent zone
NSEC / NSEC3States which names and types exist, so that a "does not exist" answer can also be provenThroughout 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.

FlagSet byMeaning
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)

StateMeaningWhat the client sees
SecureA valid chain from a trust anchorAnswer with AD set
InsecureProvably unsigned (no DS at a delegation)Answer without AD
BogusShould be signed, but validation failsSERVFAIL (RCODE 2)
IndeterminateThe DNSSEC records can't be obtainedUsually 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

TestInterpretation
Query with +cd succeeds, without it SERVFAILA DNSSEC validation failure (bogus)
Both failNot a DNSSEC problem: the servers are unreachable or broken
Signature expiry dates in the pastThe zone's signing process stopped
DS in the parent doesn't match any DNSKEYA 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

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%
Terminology layer

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.

Aliases that resolve here
dnssec evidencead cd do dnsdnssec servfail
Confirmation

Confirm action

Continue?