DNSSEC

The pros and cons of DNSSEC and DANE

DNSSEC is often presented as something every domain should turn on. The honest answer depends on what the domain does. For a website behind HTTPS it adds little; for a domain that receives email, paired with DANE, it closes a real gap.

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

The case for: what you actually gain

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:

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:

  1. looks up the MX record for example.com to find your mail server;
  2. connects to that server on port 25;
  3. 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:

DNSSEC and DANE together close both:

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:

So, should you turn it on?

Your domainDNSSECWhy
Website only, served over HTTPSOptionalTLS already stops forged answers from impersonating the site. Add HSTS and CAA, and secure your accounts first.
Parked, or no website and no emailNot neededThere’s little to protect. Publish records that reject email, such as a null MX and an SPF of -all, instead.
Receives emailRecommended, with DANEProtects MX lookups and, with TLSA, makes encryption between mail servers mandatory and verified.
Other services that trust DNSRecommendedAnything 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.