DNSSEC adds digital signatures to DNS answers so a validating resolver can prove they came from the zone’s owner and were not altered on the way. It does not encrypt queries. A domain shows one of four DNSSEC states (signed and validated, signed but not validated, unsigned, bogus), or Inconclusive when the name servers fail even with checking disabled. Check yours with the DNSSEC check.
DNSVerdict’s DNSSEC Check reads the DS, DNSKEY and the AD flag from Cloudflare and Google in your browser.
What DNSSEC protects, and what it does not
RFC 4033 §3 says DNSSEC provides origin authentication and integrity for DNS data. A resolver that validates can tell that an A record for www.example.com was published by whoever holds the zone’s key and has not been replaced by an attacker or a broken middlebox. The attack it targets is forged answers, such as cache poisoning, which silently send visitors or mail to the wrong server.
RFC 4033 §4 also lists what it does not do. DNSSEC “is not designed to provide confidentiality”, and it “provides no protection against denial of service attacks”. Anyone on the path can still read your queries. It also does not make the destination trustworthy: a signed record can point at a hostile server if the owner, or an attacker with access to the DNS account, publishes it. TLS certificates and the DNS account’s own security are separate problems.
The chain of trust: four record types
A resolver starts from a trust anchor, the root zone’s public key, and follows signed links down to the name it wants. Four record types carry the chain (RFC 4034).
| Record | Lives in | What it holds | Section |
|---|---|---|---|
| DNSKEY | The zone itself | The zone’s public keys. Flag 257 marks a key-signing key, 256 a zone-signing key | RFC 4034 §2 |
| RRSIG | The zone itself | A signature over one set of records, with an inception and an expiration time | RFC 4034 §3 |
| DS | The parent zone | A key tag, algorithm and digest that point at the child’s DNSKEY | RFC 4034 §5 |
| NSEC | The zone itself | Links each name to the next one, which lets a signed “this name does not exist” answer | RFC 4034 §4 |
The link between child and parent is the DS record. The parent signs it, the child’s DNSKEY must match its digest, and the DNSKEY signs the rest of the zone. So example.com is trusted because the root signs the DS for com, com signs the DS for example.com, and example.com signs its own records. If the DS at the parent does not match any key in the child, the chain is broken. A stale DS left at the registrar is a classic way to cause an outage; DNSSEC SERVFAIL and bogus results walks through it.
NSEC matters for one reason you will notice: a signed zone can prove that a name or record type does not exist, so an attacker cannot forge a negative answer either. You can see these records with the DNS lookup by asking for DNSKEY or DS.
The results
RFC 4033 §5 defines the states a validating resolver assigns to data: Secure, Insecure, Bogus and Indeterminate. In practice you will see these outcomes.
| Result | What it means | What to do |
|---|---|---|
| Signed and validated | A DS exists at the parent, the DNSKEY matches, signatures are valid, and the resolver set the AD flag | Nothing. Watch signature expiry and plan key rollovers |
| Signed but not validated | The zone publishes DNSKEY records, but the answer did not come back authenticated. Most often there is a DNSKEY and no DS at the parent: an island of security that validators ignore (RFC 4033 §2) | Check that a DS exists at the parent, then retest on a validating resolver |
| Unsigned | No DS at the parent and no DNSKEY in the zone; it is provably unsigned (Insecure in RFC 4033 §5) | Optional. Turn on signing at your DNS host, then publish the DS at your registrar |
| Bogus | A DS says the zone is signed, but validation fails | Fix at once; validating resolvers answer SERVFAIL (RFC 4035 §5.5) |
| Inconclusive | SERVFAIL even with checking disabled (CD set). This is not a DNSSEC problem: the name servers themselves are failing | Check the delegation and that each name server answers; see the NS lookup |
The AD (Authenticated Data) flag is how a resolver tells its client that it verified the answer. Per RFC 4035 §3.2.3 the server “MUST NOT set the AD bit” unless all RRsets in the Answer and Authority sections are authentic. A stub resolver, such as your laptop, can only use AD as a hint, and it trusts the path to the resolver (RFC 4033 §7). Cloudflare’s DoH JSON API exposes it as the AD field: “If true, it means that every record in the answer was verified with DNSSEC”.
The CD (Checking Disabled) flag is the opposite switch. A query with CD set asks the resolver to return the data even if validation fails (RFC 4035 §3.2.2). Comparing an answer with CD off and CD on separates a bogus zone from a resolver problem.
Algorithms
RFC 9904 obsoletes RFC 8624 and moves the algorithm recommendations into the IANA “DNS Security Algorithm Numbers” registry, with initial values in its Table 2. RSASHA256 (8) and ECDSAP256SHA256 (13) are mandatory to implement for signing and validation; ED25519 (15) is recommended. All three are marked RECOMMENDED for signing. Your DNS host normally picks the algorithm; ask which one before you enable signing, and check it against the registry.
Should you sign your zone?
Signing protects visitors from forged answers. The cost is operational: signatures expire, keys need rollover, and every DNS host change now involves the registrar’s DS record. A forgotten DS after a host change takes the domain offline for validating users, a failure that unsigned zones cannot have. Managed DNS providers that sign automatically remove most of the work; running your own signer requires a procedure for rollover (RFC 6781).
FAQ
Does DNSSEC encrypt DNS traffic? No. RFC 4033 §4 says DNSSEC is not designed to provide confidentiality, and it gives no protection against denial of service. Queries and answers still travel in the clear unless you use a separate transport such as DNS-over-HTTPS or DNS-over-TLS, which protect the path to your resolver but do not prove the answer is authentic.
Is an unsigned domain a problem? Not by itself. Unsigned means no DS record at the parent, so resolvers treat the zone as Insecure and answer normally (RFC 4033 §5). You lose protection against forged answers, nothing else. Signing is worth it when attackers gain from redirecting your domain, but a broken signing setup is worse than none, because validating resolvers then fail every lookup.
Which DNSSEC algorithm should I choose? Algorithm 8 (RSASHA256), 13 (ECDSAP256SHA256) and 15 (ED25519) are all marked RECOMMENDED for signing in RFC 9904 Table 2; 8 and 13 are also mandatory to implement, 15 is only recommended, so 13 is a safe default if your host offers a choice. The authoritative list now lives in the IANA DNS Security Algorithm Numbers registry.
What does “signed but not validated” mean? The zone publishes DNSKEY records, but the answer did not come back with the AD flag. Common causes: no DS at the parent (the chain of trust never starts, so the zone is Insecure under RFC 4033 §5), or the resolver you asked does not validate. Query a validating resolver and check for a DS record.
Sources
- RFC 4033, DNS Security Introduction and Requirements (§3, §4, §5, §7): https://www.rfc-editor.org/rfc/rfc4033
- RFC 4034, Resource Records for the DNS Security Extensions (§2 DNSKEY, §3 RRSIG, §4 NSEC, §5 DS): https://www.rfc-editor.org/rfc/rfc4034
- RFC 4035, Protocol Modifications for the DNS Security Extensions (§3.2.2 CD, §3.2.3 AD, §5.5 bogus data): https://www.rfc-editor.org/rfc/rfc4035
- RFC 9904, DNSSEC Cryptographic Algorithm Recommendation Update Process (obsoletes RFC 8624): https://www.rfc-editor.org/rfc/rfc9904
- RFC 8624, Algorithm Implementation Requirements and Usage Guidance for DNSSEC (obsolete): https://www.rfc-editor.org/rfc/rfc8624
- RFC 6781, DNSSEC Operational Practices, Version 2: https://www.rfc-editor.org/rfc/rfc6781
- Cloudflare, DNS-over-HTTPS JSON format (do, cd, AD): https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/make-api-requests/dns-json/
Related: DNSSEC SERVFAIL and bogus results, RDAP vs WHOIS, domain status codes, what happens when a domain expires, TTL before migration.