What problem does DNS signing solve?
Plain DNS has no way to prove where an answer came from. A resolver sends a question over UDP and accepts the first reply that matches. If an attacker gets a forged reply in first, the resolver caches it and hands the fake address to every user who asks. That's cache poisoning. The 2008 Kaminsky attack showed how practical it was, and it pushed signing from theory into deployment.
Signatures close that gap. A validating resolver checks each signed answer against a public key it can trust. A forged or modified record fails the check and gets thrown away, not cached.
What signing doesn't do matters just as much:
- It doesn't hide your queries. Anyone on the path can still see which names you look up. Privacy is the job of DNS over HTTPS (DoH) and DNS over TLS (DoT).
- It doesn't stop someone who logs into your registrar account and changes your nameservers.
- It doesn't protect the connection to the website itself. That's what TLS does.
How does DNSSEC work?
Signing adds a few steps to the zone and to validation. In short, how DNSSEC works comes down to keys, signatures and a hash handed to the parent:
- The zone gets key pairs. A zone-signing key (ZSK) signs the records. A key-signing key (KSK) signs the set of keys. Many setups use a single combined key.
- Each set of records gets a signature. Every group of records with the same name and type, for example all A records for
www.example.com, gets an RRSIG record holding the signature. - The public keys are published. They sit in DNSKEY records at the apex of the zone.
- The parent vouches for the key. A hash of the KSK goes up to the parent zone as a DS record. For
example.com, the DS lives in the.comzone, and your registrar puts it there. - A resolver that validates checks the whole path. It verifies the RRSIG with the DNSKEY, the DNSKEY with the DS in the parent, and so on up to the root.
If every link checks out, the answer is secure. If any link fails, it's bogus, and the resolver returns SERVFAIL instead of an answer it can't trust.
The records behind signed DNS
Signing introduces five record types. You won't edit them by hand on Bridge, but you'll see them in dig output.
| Record | RR type | Where it lives | What it does |
|---|---|---|---|
| DNSKEY | 48 | Your zone apex | Publishes the public keys |
| RRSIG | 46 | Next to every signed record set | Holds the signature for that set |
| DS | 43 | The parent zone (e.g. .com) |
A hash of your KSK; links parent to child |
| NSEC | 47 | Your zone | Proves a name or type doesn't exist |
| NSEC3 | 50 | Your zone | Same proof, with hashed names (RFC 5155) |
Why there are two kinds of denial. A signed zone has to prove "no such name" too, or an attacker could forge NXDOMAIN answers. NSEC does it by naming the next existing name in the zone. That works, but it lets anyone walk the zone and list every name in it. NSEC3 hashes the names first, which makes walking much harder.
RFC 9276 later cut NSEC3 down to sensible settings: no extra hash iterations and no salt. Bridge DNS uses NSEC3 with the parameters RFC 9276 recommends.
Following the chain of trust
Validation needs a starting point. Every validating resolver ships with the root zone's key as its trust anchor. The root zone has been signed since 2010, and the path down looks like this:
- The root's DNSKEY, trusted by configuration, signs the DS record for
.com. - The
.comDNSKEY signs the DS record forexample.com. - The
example.comDNSKEY signswww.example.com A 203.0.113.10.
You can follow it yourself with dig:
dig example.com DS +short # what the parent publishes
dig example.com DNSKEY +dnssec # the keys in your zone
dig www.example.com A +dnssec # the answer plus its RRSIG
If the DS key tag doesn't match any DNSKEY in your zone, the chain breaks right there. That's the most common real-world failure. It nearly always appears after a provider change. DNSViz draws the whole chain as a diagram and marks the broken link in red.
What changes when a zone is signed
Once signing is on, a zone behaves like a normal one for most users, but a few things are different:
| Unsigned zone | Signed zone | |
|---|---|---|
| Can resolvers detect forged answers? | No | Yes, validating ones can |
| Size of answers | Small | Larger, because RRSIGs ride along |
| "Name doesn't exist" answers | Plain NXDOMAIN | NXDOMAIN plus NSEC or NSEC3 proof |
| What breaks resolution | Missing records, bad delegation | Also: expired signatures, DS mismatch |
| Extra steps for the owner | None | DS at the registrar; key rollovers |
| Encryption | None | Still none |
Validation results come in four flavors:
- Secure: the chain verifies.
- Insecure: the zone is unsigned, with no DS in the parent. The answer is accepted as plain DNS, which is what "unsigned" means.
- Bogus: a signature or link fails. Validating resolvers like
1.1.1.1and8.8.8.8return SERVFAIL. - Indeterminate: the resolver couldn't finish checking.
The bogus case is why signing has a reputation for being fragile. A mistake doesn't degrade gracefully. It takes the domain offline for every user behind a validating resolver.
DNSSEC in Bridge DNS
Bridge DNS makes signing a per-zone switch:
- Opt-in. Signing is off until you turn it on for a zone.
- Automatic. We create the keys, sign every record set and re-sign as records change.
- Modern crypto. Zones are signed with ECDSA P-256, and denial of existence uses NSEC3 per RFC 9276.
- Registrar delegation. Completing the chain of trust requires your registrar to support DNSSEC delegation. Without the DS, resolvers treat the zone as insecure, signed or not.
Moving a signed zone to Bridge? Remove the old provider's DS record at the registrar before you change nameservers. Then wait for the DS record's TTL to pass. Turn signing on in Bridge only after the new delegation is live. A leftover DS that points at the old keys makes the domain bogus.
How to check that a domain is signed
The quickest test uses a validating resolver and the ad (Authenticated Data) flag:
dig @1.1.1.1 example.com A +dnssec
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
ad in the flags means the answer validated. No ad with a normal answer means the zone is unsigned or has no DS yet. SERVFAIL that disappears when you add +cd (checking disabled) means the signatures are broken.
For a visual check, DNSViz and the Verisign DNSSEC Debugger trace the chain link by link. When the DS and DNSKEY don't match, check the parent delegation and the active signing key.
Should you turn on DNSSEC?
Turn it on if your registrar supports DS records and you want resolvers to reject forged answers for your domain. It's also a hard requirement for DANE, which publishes TLSA records to pin mail-server certificates.
Wait if you're in the middle of a provider move, or your registrar can't publish a DS. A half-finished chain gives you the risk without the protection.
On Bridge, the operational cost is small. Keys and signatures are handled for you, so the only thing you can get wrong is the DS at the registrar. That's also the first thing to check whenever validation fails.
The wider reference on zones, records and nameservers is in the Bridge DNS documentation.
Questions about DNS signing
What is DNSSEC?
It's a set of extensions to DNS, defined in RFC 4033–4035, that sign DNS records with public-key cryptography. Validating resolvers check those signatures and reject answers that were forged or altered.
What is the meaning of a "signed zone"?
A signed zone publishes DNSKEY records and an RRSIG signature for every record set. To complete the chain of trust, its parent zone publishes a DS record that vouches for its key.
Does signing encrypt DNS queries?
No. Signatures prove authenticity, but queries and answers still travel in the clear. For privacy, the resolver connection needs DNS over HTTPS or DNS over TLS.
What happens if DNSSEC validation fails?
A validating resolver marks the answer bogus and returns SERVFAIL to the user. The domain stays unreachable for those users until the broken link is fixed, most often the DS record at the registrar.
What does "unsigned" mean in a DNSSEC test result?
It means the parent zone has no DS record for the domain, so resolvers treat its answers as ordinary, unvalidated DNS. Nothing is broken. The domain simply isn't protected.
Does Bridge DNS support DNSSEC on every zone?
Yes. Signing is available per zone and is applied automatically once you turn it on. Completing the chain of trust requires your registrar to support DNSSEC delegation.