← Back to Learning Hub

DNS • Intermediate • 7 min read

How to Check If DNSSEC Is Valid on a Domain

Enabling DNSSEC is not the same as validating. Check that the parent DS matches your DNSKEY, that RRSIGs verify, and read the AD flag to prove the chain works.

Turning DNSSEC on at your DNS host is not the same as DNSSEC actually validating. A zone can be signed, serving DNSKEY and RRSIG records, and still fail to protect anyone because the chain of trust is broken at the parent. The only thing that matters to a validating resolver is whether the chain links up end to end: the DS record in your parent zone must match a key in your DNSKEY set, the RRSIG signatures must verify against those keys, and the whole path must climb to the root trust anchor. If any link is broken, validating resolvers do not just ignore DNSSEC, they return SERVFAIL and your domain goes dark for everyone behind a validating resolver. This guide shows how to check each link, how to read the AD flag that proves validation happened, and how to tell a working chain from a broken one.

Signed is not the same as validating

There is a meaningful gap between three states. A domain can be unsigned (no DNSSEC at all), signed but insecure (keys exist in the zone but the parent publishes no matching DS, so resolvers treat it as unsigned), or fully secure (the DS at the parent matches the zone's key and the whole chain validates). The dangerous middle ground is a signed zone whose DS is missing, mismatched, or stale. It looks like DNSSEC is on, but either nothing is being validated or, worse, the mismatch makes validating resolvers reject every answer. So the real check is not does the zone have keys, it is does the chain validate.

Read the AD flag: the quickest signal

The fastest way to know a domain validates is to ask a validating resolver and look for the ad (authenticated data) flag in the response header. Query a known validating resolver such as 1.1.1.1 or 8.8.8.8 and request DNSSEC data:

$ dig example.com A +dnssec @1.1.1.1

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42136
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 2, ...

The ad flag in that flags line means the resolver verified the chain of trust and the answer is authentic. If the status is NOERROR but there is no ad flag, the domain is resolving but not validated, which usually means it is unsigned or signed-but-insecure (no DS at the parent). If the status is SERVFAIL, that is the signature of a broken chain, covered below.

Check that the parent DS matches your DNSKEY

The link most likely to break is the DS record, because it lives in your parent zone and must be kept in sync with your key by hand (or by CDS automation). The DS is a hash of your Key Signing Key. To check the link, fetch both sides and compare the key tags and digest. First read the DS the parent publishes:

$ dig example.com DS +short
12345 13 2 49FD0A3B...C1E2  # keytag 12345, algorithm 13, digest type 2

Then read the DNSKEY set from the zone and confirm a key with the same tag and algorithm exists:

$ dig example.com DNSKEY +short
257 3 13 mdsswUyr3DPW...   # flags 257 = KSK
256 3 13 oJMRESz5E4gY...   # flags 256 = ZSK

The DS must correspond to the KSK (flags 257). The key tag in the DS (12345) has to match the tag computed from that DNSKEY, and the algorithm number (13 here, ECDSA P-256) has to match too. If the parent publishes a DS whose key tag points at a key no longer in the zone, typically after a key rollover or a provider migration where the DS was never updated, the chain is broken and validation fails. A missing DS means the opposite problem: the zone is signed but the parent never vouches for it, so nothing validates.

Confirm the RRSIG signatures verify

Each signed record set carries an RRSIG, a signature made with the zone's key. Ask for them and check they are present and current:

$ dig example.com A +dnssec +noall +answer
example.com.    300  IN  A      203.0.113.10
example.com.    300  IN  RRSIG  A 13 2 300 20261130000000 20261116000000 45678 example.com. ...

The RRSIG line carries two timestamps: the expiration (20261130000000) and inception (20261116000000) in YYYYMMDDHHMMSS form. An expired RRSIG is a classic failure, often from a signer that stopped re-signing the zone, and it breaks validation exactly like a bad DS. The number near the end (45678) is the key tag that signed this set, which should correspond to your ZSK. For an end-to-end verification rather than a manual read, delv performs full chain validation and prints the result:

$ delv example.com A
; fully validated
example.com.    300  IN  A      203.0.113.10
example.com.    300  IN  RRSIG  A 13 2 300 ...

The line ; fully validated means delv built the chain from the record up to the root trust anchor and every signature checked out. If delv prints ; resolution failed: SERVFAIL or insecurity proof failed, the chain is broken.

What a broken chain looks like

Because DNSSEC fails closed, a broken chain does not degrade gracefully, it takes the domain offline for validating resolvers. The tell-tale symptom is that the domain returns SERVFAIL from a validating resolver but resolves fine from a non-validating one. You can prove this difference in two queries. A validating resolver rejects the answer, while the same query with validation disabled (the +cd, checking-disabled, flag) succeeds:

$ dig example.com A @1.1.1.1
;; ->>HEADER<<- ... status: SERVFAIL          # validation rejected it

$ dig example.com A @1.1.1.1 +cd
;; ->>HEADER<<- ... status: NOERROR           # answer exists; only DNSSEC was failing

When +cd turns a SERVFAIL into a clean answer, you have confirmed the records exist and the problem is DNSSEC validation, not a missing record. From there the cause is almost always one of three things: a DS at the parent that no longer matches the live KSK, an expired RRSIG, or a provider migration that left the old DS in place over a newly signed zone. The repair is to realign the DS with the current key and let both the DS and any old cached copies expire.

ObservationWhat it means
AD flag set, NOERRORChain validates; domain is protected
NOERROR but no AD flagResolving but not validated; likely no DS at the parent
SERVFAIL that clears with +cdBroken chain: DS mismatch, expired RRSIG, or stale DS after migration
DS present, no matching DNSKEY tagParent vouches for a key the zone no longer serves

The Valla DNS lookup tool reads the DS, DNSKEY, and RRSIG records for a domain side by side so you can confirm the key tags line up and the signatures are current, which is the manual half of a DNSSEC check made quick. Pair that with a SERVFAIL-versus-+cd test and you can tell a protected domain from a broken one in under a minute.

Frequently asked questions

How do I check if DNSSEC is actually validating, not just enabled?

Query a validating resolver such as 1.1.1.1 with dig example.com +dnssec and look for the ad flag in the response header. The AD flag means the resolver verified the chain of trust. No AD flag with a clean answer means the zone is not being validated, usually because the parent has no DS.

What does the AD flag mean?

AD stands for authenticated data. When a validating resolver sets it, the resolver has checked every signature from the answer up to the root trust anchor and confirmed the records are authentic and unaltered. Its absence on a signed domain points to a missing or mismatched DS.

Why does my domain return SERVFAIL after enabling DNSSEC?

Almost always a broken chain of trust: the DS at your registrar does not match the live KSK, or an RRSIG has expired. Confirm it by re-querying with the +cd flag; if the answer then resolves, DNSSEC validation was the problem. Fix by republishing a DS that matches the current key.

How do I know the parent DS matches my DNSKEY?

Compare dig example.com DS with dig example.com DNSKEY. The DS key tag and algorithm must correspond to your KSK (the DNSKEY with flags 257). A DS whose tag points at a key no longer in the zone means the chain is broken.

What tool fully validates the chain for me?

Use delv example.com, which performs full DNSSEC validation and prints ; fully validated when the chain checks out end to end. It verifies RRSIGs, the DS-to-DNSKEY link, and the path to the root trust anchor in one command.

Check a domain's DS, DNSKEY, and RRSIG records together with the Valla DNS lookup tool, then run a quick SERVFAIL-versus-+cd test to confirm the chain is truly protecting the domain.

Troubleshooting box

If results look inconsistent, compare authoritative nameservers first, then recursive resolvers by region. Capture snapshots every 10 minutes for deterministic incident timelines.

Try VallaDNS free →

Intermediate • 6 min

How to Find a DNS Record's TTL (Current Value)

Find the TTL currently set on a DNS record: read the TTL column in dig and nslookup, tell the authoritative TTL from a resolver's countdown, and confirm a change.

Intermediate • 7 min

How to Check If Nameservers Have Propagated

Nameserver changes live at the parent TLD and follow the registry NS TTL, not your zone. Check the parent delegation and confirm the new NS set worldwide.