Tech Study Guide
DNSSEC and DNS Privacy
DNSSEC validation, chain of trust, DS/DNSKEY, signing failures, DNS over TLS, DNS over HTTPS, and what privacy does not solve.
DNSSEC and DNS Privacy
DNSSEC and encrypted DNS solve different problems. DNSSEC signs DNS data so a validating resolver can detect tampering. DNS over TLS and DNS over HTTPS encrypt transport between the client and resolver, but they do not prove the data is correct unless validation also happens.
Validation Checks
dig +dnssec example.com
dig DS example.com
dig DNSKEY example.com
delv example.com
resolvectl query example.com
DNSSEC Chain
| Record | Role |
|---|---|
| DNSKEY | Public keys for a signed zone. |
| DS | Parent-zone digest that points to the child zone key. |
| RRSIG | Signature over a DNS record set. |
| NSEC / NSEC3 | Authenticated denial of existence. |
The chain of trust normally runs root -> TLD -> domain -> signed answer. A DS mismatch at the parent can break a domain even when authoritative servers still return records.
Common DNSSEC Failures
- expired RRSIG records,
- parent DS does not match child DNSKEY,
- signing provider changed but registrar DS was not updated,
- clocks wrong on validators or signers,
- large DNSSEC responses blocked by network paths,
- one authoritative nameserver serving stale signed data.
DNS Privacy
Encrypted DNS protects the path between client and resolver from passive observation or modification. It does not hide the destination from the resolver, does not validate unsigned zones, and does not make corporate or Kubernetes split-horizon DNS automatically work.
Operational Model
- Decide where validation happens: local host, recursive resolver, or both.
- Treat DS updates as part of DNS provider migrations.
- Monitor signature expiry and validation failures.
- Test with validating and non-validating resolvers.
- Separate transport privacy failures from DNSSEC validation failures.
Study Cards
Does DNSSEC encrypt DNS queries?
No. DNSSEC validates DNS data; DNS over TLS or HTTPS encrypts resolver transport.
What does a DS record connect?
It connects a parent zone delegation to the child zone's DNSSEC key material.
Why can only validating resolvers fail?
They reject answers when the DNSSEC chain, signatures, or denial-of-existence proofs are invalid.