DNSSEC, DS records, and validation failures
Want this checked on your own domain?
Join the waitlistUpdated
Message for whoever manages your DNS
Hi, could you check DNSSEC on our domain?
- Is it on? If so, does the DS record at our registrar match the key our current DNS host publishes?
- If we ever change DNS hosts, please remove the DS record at the registrar first, wait for it to expire from caches, and add the new host’s DS record only after the move.
Thank you.
Want this checked on your own domain? Join the waitlist.
Check yours
Run the full report (join the waitlist for access). You can also ask a validating resolver yourself; replace example.com with your domain.
If the flags line of this answer includes ad, the answer validated:
dig +dnssec SOA example.com @1.1.1.1
If the first of these returns status: SERVFAIL and the second, with checking disabled, returns status: NOERROR, DNSSEC is broken:
dig SOA example.com @1.1.1.1
dig +cd SOA example.com @1.1.1.1
This shows the DS record the registry publishes, if any:
dig +short DS example.com
Fix it
DNSSEC has two halves in two places. Signing happens at your DNS host, which publishes the keys (DNSKEY records) and signatures. The DS record is published by the registry for your ending, and you set it through your registrar. Both halves must describe the same key.
DNSSEC is broken
What it means. Resolvers that validate signatures return SERVFAIL for your domain, while the same question with checking disabled gets an answer. The records exist, but their signatures don’t validate; RFC 4035 requires a validating resolver to return a server failure in that case (§5.5) and to hand over the data only when the client asked it not to check (§3.2.2).
Why it matters.
- People whose resolver validates can’t reach the website. Google Public DNS and Cloudflare’s 1.1.1.1 both validate.
- Mail servers that use a validating resolver can’t look up your mail servers. They treat that as a temporary error and keep retrying (RFC 5321 §5.1), so mail is delayed and eventually bounces when they give up, generally after at least four to five days (RFC 5321 §4.5.4.1).
- Since March 15, 2026, certificate authorities must validate DNSSEC on the lookups they make before issuing, and a validation error such as SERVFAIL is not permission to issue (CA/Browser Forum Baseline Requirements §4.2.2.2). Your website’s certificate can’t be issued or renewed until DNSSEC is fixed.
The cause to check first. A DS record at the registrar for a key your current DNS host doesn’t publish, for example one left over from a previous DNS host. RFC 6781 §4.3.3 calls this security lameness. Other causes are signatures that have expired because the DNS host stopped re-signing, or a key removed while its DS record remained.
Fix.
- See which DS record the registry publishes:
dig +short DS example.com. Each line shows a key tag, algorithm, digest type, and digest. - In your DNS host’s settings, check whether DNSSEC is on. If it is, the host shows the DS record it expects.
- If the host signs the domain, replace the DS record at the registrar with the one the host shows.
- If the host doesn’t sign the domain, or you aren’t sure, delete the DS record at the registrar. That turns DNSSEC off and restores normal resolution once caches expire. You can turn it on properly later.
- If the DS matches but signatures have expired, contact the DNS host; in the meantime, removing the DS record at the registrar restores resolution.
How long it takes. Validating resolvers can keep using the old DS record until its TTL runs out. dig DS example.com shows the TTL as the number after the name (asked through a resolver, it shows the time left in that resolver’s cache). Resolvers cache the failure itself for at most five minutes (RFC 9520 §3.2).
Confirm. dig SOA example.com @1.1.1.1 returns NOERROR. If DNSSEC is still on, dig +dnssec SOA example.com @1.1.1.1 shows ad, and the report shows “DNSSEC is on and valid”.
DNSSEC is half set up
What it means. Your zone publishes DNSSEC keys, but the registry has no DS record for it. Nothing links your keys to the chain of trust, so resolvers treat the domain as unsigned (RFC 4035 §5.2). This is not an outage; it just means the signing gives no protection yet.
Fix. Either finish the setup or switch signing off; either is fine.
- To finish it, copy the DS record your DNS host shows into your registrar’s DNSSEC settings. Registrars’ forms differ, so enter each value exactly as the DNS host gives it (key tag, algorithm, digest type, digest).
- To stop, turn off DNSSEC at the DNS host.
Some registries and registrars can add the DS record by themselves from CDS or CDNSKEY records that your DNS host publishes (RFC 7344, RFC 8078). Whether yours does is up to them; check before relying on it.
Confirm. dig +dnssec SOA example.com @1.1.1.1 shows ad, and the report shows “DNSSEC is on and valid”.
DNSSEC is not enabled
What it means. Your domain’s DNS answers aren’t signed. That is common and not a fault. RFC 9364, which makes DNSSEC a best current practice, cites estimates that fewer than 10% of website domain names are signed (§1.1).
Should you turn it on? DNSSEC protects against forged DNS answers, for people whose resolvers validate (RFC 4033 §3). In return, it adds a duty: the DS record must be kept in step with your DNS host, especially when you change hosts. It is a good fit when:
- your DNS host signs the zone and rolls the keys automatically;
- your registrar accepts DS records for your ending;
- whoever manages DNS knows to follow the move order below.
Turn it on.
- Turn on DNSSEC in your DNS host’s settings. Cloudflare, for example, signs the zone and then shows the DS record to add.
- Add that DS record in your registrar’s DNSSEC settings.
- Prefer a current algorithm. IANA’s registry, which RFC 9904 made the reference, lists algorithm 13 (ECDSA P-256 with SHA-256) and 15 (Ed25519) as recommended for signing, and digest type 2 (SHA-256) as recommended for DS records.
Confirm. dig +dnssec SOA example.com @1.1.1.1 shows ad.
DNSSEC signatures were not validated
What it means. The registry publishes a DS record, and lookups succeed, but the answers aren’t marked as validated. When a validating resolver supports none of the algorithms in the DS records, RFC 4035 §5.2 tells it to treat the zone as unsigned: lookups work, but nothing is protected.
Fix. Ask your DNS host which signing algorithm it uses, and which digest type the DS record uses. Algorithm 13 is one that every validator must implement, according to IANA’s registry; digest type 2 (SHA-256) is the recommended DS digest. If the host uses something else, ask it to switch to a recommended algorithm (an algorithm rollover), then update the DS record at the registrar as the host instructs.
Confirm. dig +dnssec SOA example.com @1.1.1.1 shows ad.
Moving DNS hosts with DNSSEC on
The new host can’t produce signatures that match the old host’s DS record, so changing nameservers while that DS record is in place breaks the domain for validating resolvers. Cloudflare’s own instructions for moving a domain to it say the same: turn DNSSEC off at the registrar first. The safe order, from RFC 6781 §4.3.5.2:
- Remove the DS record at the registrar.
- Wait until the registry no longer publishes the DS record, then for at least its TTL so cached copies expire. To ask the registry directly, use one of your ending’s servers, for .com
dig +norec DS example.com @a.gtld-servers.net. - Change the nameservers, following changing DNS hosts safely.
- Wait for the old nameserver list to expire from caches, as that guide describes.
- Turn on DNSSEC at the new host and add its DS record at the registrar.
Between removing the old DS record and adding the new one, the domain is unsigned but works normally. If both the old and the new host support it, they can keep the domain signed throughout by publishing each other’s keys first (RFC 6781 §4.3.5.1, RFC 8901). That needs both hosts’ cooperation; ask both before relying on it.
Turning DNSSEC off
Do it in the reverse order of setup: remove the DS record at the registrar, wait for its TTL to pass, and only then turn off signing at the DNS host. If signing stops while the DS record is still published, the domain breaks for validating resolvers.
Technical reference
How the chain works
| Record | Where | What it does | Source |
|---|---|---|---|
| DNSKEY | Your zone | Public keys used to verify signatures | RFC 4034 §2 |
| RRSIG | Your zone | Signature over each set of records, with a validity period | RFC 4034 §3 |
| NSEC / NSEC3 | Your zone | Signed proof that a name or record type doesn’t exist | RFC 4034 §4; RFC 5155 |
| DS | Parent zone (registry) | Digest of one of your DNSKEYs, with its key tag and algorithm | RFC 4034 §5 |
A validator starts from a trust anchor, normally the root zone’s key, and follows DS records down through each delegation. A DS record authenticates your DNSKEY set if its algorithm, key tag, and digest match a key in it and that key signs the set (RFC 4035 §5.2). If the parent has signed proof that no DS exists, everything below is unsigned (RFC 4035 §5.2).
Validation states
| State | Meaning | Source |
|---|---|---|
| Secure | Chain of trust from a trust anchor, all signatures verify | RFC 4033 §5, RFC 4035 §4.3 |
| Insecure | Signed proof that there is no DS at some delegation; answers are used unvalidated | RFC 4033 §5 |
| Bogus | The chain says the data should be signed, but validation fails: missing or expired signatures, unsupported algorithms, missing data | RFC 4033 §5 |
| Indeterminate | No trust anchor covers the name | RFC 4033 §5 |
For a bogus answer, a validating recursive resolver returns RCODE 2 (SERVFAIL), and returns the data only if the query had the CD (checking disabled) bit set (RFC 4035 §3.2.2, §5.5). It sets the AD (authentic data) bit only when it considers the answer authentic (RFC 4035 §3.2.3). Resolvers must cache resolution failures, including DNSSEC failures, for at least 1 second and at most 5 minutes (RFC 9520 §3.2).
What DNSSEC doesn’t do
DNSSEC provides origin authentication and integrity for DNS data, including authenticated denial of existence (RFC 4033 §3). It doesn’t provide confidentiality and doesn’t protect against denial of service (RFC 4033 §4). It protects only users whose resolvers validate. RFC 9364 §1.1 cites estimates, at its publication in 2023, that around a third of queries to recursive resolvers are validated.
Algorithms and digests
RFC 9904 (November 2025) obsoleted RFC 8624 and moved the recommendations into IANA’s registries. Current values for common choices:
| Number | Algorithm | Use for signing | Implement for validation |
|---|---|---|---|
| 8 | RSA/SHA-256 | Recommended | Must |
| 13 | ECDSA P-256 with SHA-256 | Recommended | Must |
| 15 | Ed25519 | Recommended | Recommended |
| 5, 7 | RSA/SHA-1 | Must not | Must |
| DS digest type | Use for new DS records |
|---|---|
| 1 (SHA-1) | Must not |
| 2 (SHA-256) | Recommended |
| 4 (SHA-384) | May |
Automating the DS record
CDS and CDNSKEY records let a signed zone tell its parent which DS record it wants (RFC 7344 §3). RFC 8078 adds initial enabling (§3) and a delete signal, a CDS record with algorithm 0, to remove the DS (§4). They work only where the registry or registrar polls for them.
Certificate issuance
Since March 15, 2026, the resolver a certificate authority uses for domain validation and CAA lookups must validate DNSSEC per RFC 4035 §5, the CA must not disable validation, and validation errors observed (e.g., SERVFAIL) must not be treated as permission to issue (Baseline Requirements §4.2.2.2.1, §4.2.2.2.4, §4.2.2.2.5). For three email-based validation methods, validation is required on the CNAME, CAA, and TXT lookups used to find the domain being validated, and recommended on the rest (§4.2.2.2.3).
What the report checks
The report asks a validating resolver for the domain’s SOA record with and without the CD bit, and for its DS and DNSKEY records.
| Observation | Result |
|---|---|
| SOA lookup SERVFAIL, but NOERROR with CD set | DNSSEC is broken |
| DS present, SOA answer has the AD bit | DNSSEC is on and valid |
| DS present, no AD bit | DNSSEC signatures were not validated |
| No DS, DNSKEY present | DNSSEC is half set up |
| No DS, no DNSKEY | DNSSEC is not enabled |
When DNSSEC status can’t be determined
If any of these lookups fails outright, for example with a timeout, the report says DNSSEC status couldn’t be determined rather than guessing. Run it again; if it persists, check that your nameservers answer.
Sources
- RFC 4033, DNS Security Introduction and Requirements
- RFC 4034, Resource Records for the DNS Security Extensions
- RFC 4035, Protocol Modifications for the DNS Security Extensions
- RFC 5155, DNSSEC Hashed Authenticated Denial of Existence
- RFC 9364, DNS Security Extensions (DNSSEC), BCP 237
- RFC 6781, DNSSEC Operational Practices, Version 2
- RFC 7344, Automating DNSSEC Delegation Trust Maintenance
- RFC 8078, Managing DS Records from the Parent via CDS/CDNSKEY
- RFC 8901, Multi-Signer DNSSEC Models
- RFC 9520, Negative Caching of DNS Resolution Failures
- RFC 9904, DNSSEC Cryptographic Algorithm Recommendation Update Process
- IANA, DNS Security Algorithm Numbers
- IANA, DS RR Type Digest Algorithms
- RFC 5321, Simple Mail Transfer Protocol
- CA/Browser Forum TLS Baseline Requirements, version 2.3.1
- Google Public DNS, Security benefits
- Cloudflare 1.1.1.1 FAQ
- Cloudflare DNS documentation, DNSSEC
Want this checked on your own domain?
Join the waitlist