The short version
- DNSSEC signs your DNS records so validating resolvers can reject forged answers. DANE builds on it: a signed TLSA record tells other servers which TLS certificate or key to expect.
- Website only, with HTTPS: TLS certificates already stop a forged DNS answer from impersonating your site. DNSSEC adds a little on top, but often not enough to justify the operational risk.
- Domains that receive email: server-to-server email is usually encrypted without checking who is on the other end, so a forged DNS answer can quietly redirect it. DNSSEC with DANE makes sending servers insist on the right server and on encryption, which closes that gap.
- The main cost is operational: a DNSSEC mistake can take the whole domain offline for a day or more, so it needs a deliberate rollout and careful changes afterwards.
What they are
DNSSEC (DNS Security Extensions) adds digital signatures to a domain’s records, with a chain of trust running from the root zone, through the TLD, down to your domain. A resolver that validates DNSSEC can tell whether an answer really came from your nameservers unchanged. It doesn’t encrypt anything, and it doesn’t hide which names are looked up; it only proves the answers are genuine.
DANE (DNS-based Authentication of Named Entities) uses that proof to publish facts about your TLS setup in DNS. A TLSA record, such as one at _25._tcp.mail.example.com, says “the mail server on this host offers TLS, and its key looks like this”. Because the record is signed, a connecting server can trust it without relying on anything else, and should refuse to fall back to an unencrypted or unverified connection. DANE only works on DNSSEC-signed zones.
The case against: risks and costs
- Mistakes take the whole domain down. If the DS record at your registrar doesn’t match the keys your nameservers sign with, every validating resolver refuses every answer for the domain: website, email, APIs, everything. Recovery is slow because resolvers cache the bad DS, often for 24 hours. Deploying DNSSEC safely covers this in detail.
- Ordinary changes become riskier. Moving to a new DNS provider, changing nameservers, transferring a domain or deleting a zone all have to be done in a specific order once DNSSEC is on. Steps that are routine for unsigned domains become ones that can cause outages.
- Something has to keep signing. Signatures expire, and keys may need to roll over. If the signing system stops or a rollover is done out of order, the domain fails validation, sometimes days after the change that caused it.
- Failures are hard to see. If your own resolver doesn’t validate, a broken domain keeps working for you while customers on validating networks can’t reach it at all.
- Not every resolver validates. Many large public resolvers and internet providers do, but plenty of networks don’t. For users behind a non-validating resolver, DNSSEC protects nothing, while a mistake still hurts everyone who is behind a validating one.
- It doesn’t stop the most common attacks. DNSSEC proves that answers match what your nameservers publish. If someone takes over your registrar or DNS hosting account, they can change your records or turn DNSSEC off, and the signatures follow along. Account security matters more.
- DANE adds its own upkeep. TLSA records have to change before your mail server’s key does. Renew a certificate with a new key without updating the TLSA first, and DANE-aware senders stop delivering to you until it’s fixed.
The case for: what you actually gain
- Forged answers are rejected. Cache poisoning and on-path tampering can’t change your records for anyone behind a validating resolver.
- Every record type is covered, not just the ones a browser connects to: MX, SPF, DKIM and DMARC records, CAA records, and anything else other systems look up and trust.
- Certificate issuance is harder to trick. Certificate authorities check domain control, and your CAA record, through DNS. On a signed domain, a CA that validates DNSSEC can’t be fooled by a forged answer into issuing a certificate for your domain to someone else.
- It enables DANE, which is where the biggest practical benefit lies today: authenticated, mandatory encryption between mail servers.
If your domain is just a website with HTTPS
Suppose an attacker poisons a resolver so that www.example.com points to their server. The visitor’s browser connects and asks for a TLS certificate for www.example.com. The attacker doesn’t have one a browser will accept, so the browser shows a full-page certificate error and the visitor never sees the fake site. TLS has already done the job DNSSEC would do here: it checks that the server really is www.example.com, whatever DNS said.
What’s left for DNSSEC is narrower:
- An attacker could still use a forged answer to make your site unreachable for the affected users. That’s a nuisance, but not a data breach.
- A forged answer could, in principle, fool a certificate authority into issuing the attacker a real certificate. CAs now check from several network locations at once, which makes this much harder in practice, and DNSSEC closes it further.
- Without HSTS, a first visit over plain
http://can be intercepted before HTTPS starts. HSTS, not DNSSEC, is the right fix for that.
Weigh that against the risk of a mistake taking the domain offline for a day. For a domain that only serves a website over HTTPS, with HSTS, strong account security at the registrar and DNS host, and a CAA record, DNSSEC is a nice-to-have, not a priority. If you do turn it on, follow a careful rollout plan.
If your domain receives email
Email is different, because mail servers don’t check certificates the way browsers do. When another server sends mail to you@example.com, it:
- looks up the MX record for
example.comto find your mail server; - connects to that server on port 25;
- upgrades the connection to TLS with STARTTLS, if the server offers it.
For historical reasons, that TLS is opportunistic. If the server doesn’t offer STARTTLS, the sender delivers the mail unencrypted. If the certificate doesn’t match, or is self-signed, the sender usually delivers anyway. There’s no warning page and no person to click “back”.
That leaves two easy ways in for an attacker:
- Forge the MX lookup. Poison the sending server’s resolver so your MX record points at the attacker’s server. The sender connects, gets encryption, happily accepts any certificate, and hands over the mail. The attacker can read it, keep it, or pass it on to you so nobody notices.
- Strip STARTTLS. An attacker on the network path removes the STARTTLS offer from your server’s greeting, and the sender falls back to plain text.
DNSSEC and DANE together close both:
- DNSSEC means a validating sender can’t be given a forged MX record, or a forged address for your mail server.
- A TLSA record for the mail server, signed with DNSSEC, tells the sender that this server must offer TLS and which key it uses.
- A DANE-aware sender then refuses to send in plain text and refuses a server whose key doesn’t match. Instead it keeps the mail queued and retries, so a mistake delays mail rather than handing it to an attacker.
Mail is exactly the kind of traffic attackers want, password resets and invoices included, and it’s far more exposed than web traffic. That’s why DNSSEC brings real value to email domains. DANE is supported by Postfix, Exim and other common mail servers, and by a growing number of large mail providers.
Some practical points:
- The TLSA record belongs to the zone that hosts your mail server, not necessarily your own domain. If your MX points to a mail provider, that provider has to sign its zone and publish the TLSA records; ask them whether they support inbound DANE. Your part is signing your own domain so the MX record itself can’t be forged.
- Pin the key, not the certificate. A TLSA record of type
3 1 1(the SHA-256 of the server’s public key) survives certificate renewals as long as the key stays the same. When the key does change, publish the new TLSA alongside the old one, wait for caches to expire, and only then switch. - MTA-STS is an alternative that doesn’t need DNSSEC. It publishes a policy over HTTPS telling senders to require TLS with a valid certificate. It’s weaker on a sender’s first contact, and the two can be used together.
- Turn on TLS reporting (a TLS-RPT TXT record) so senders tell you when they can’t deliver securely, before it turns into lost mail.
So, should you turn it on?
| Your domain | DNSSEC | Why |
|---|---|---|
| Website only, served over HTTPS | Optional | TLS already stops forged answers from impersonating the site. Add HSTS and CAA, and secure your accounts first. |
| Parked, or no website and no email | Not needed | There’s little to protect. Publish records that reject email, such as a null MX and an SPF of -all, instead. |
| Receives email | Recommended, with DANE | Protects MX lookups and, with TLSA, makes encryption between mail servers mandatory and verified. |
| Other services that trust DNS | Recommended | Anything that connects without checking a certificate the way a browser does benefits from signed answers. |
Whichever you choose, DNSSEC is safe when it’s rolled out deliberately. Read Deploying DNSSEC safely before you start, and for the basics of how lookups work, see What is DNS?
How NSResolver helps
DNSSEC is available on the Premium and Premium Pro plans. It stays off until you turn it on, and we guide you through each step: we sign the zone, wait until it’s safe before showing you the DS record, check that the DS published at the registry matches, and walk you through turning it off in the right order. See the plans, or sign up to get started.