What is DNSSEC, and should you turn it on?

Last updated

The short answer

DNSSEC adds digital signatures to your domain's DNS records, so the internet can check that the answer to "where is yoursite.com?" really came from you and wasn't forged on the way. It is switched on in two places: your DNS provider signs the records, and your domain registrar publishes a DS record that vouches for them. It is worth turning on for most businesses, as long as you know the one rule: when you change DNS provider, remove the DS record first.

DNSSEC on or off? A quick decision

Keep it on, or turn it on, if your DNS provider supports it. Moving DNS soon? Turn it on after the move. Switching it off or moving? Remove the DS record at your registrar first.

Keep it on, or turn it on, when…Wait, or turn it off the safe way, when…
Your DNS provider offers DNSSEC (often at no extra cost; check your provider).Your DNS provider doesn't offer it. There is nothing to switch on until it does.
You aren't planning to change DNS provider or nameservers soon.You are about to move DNS, for example to Cloudflare or a new host. Move first, then turn DNSSEC on at the new provider.
Your registrar lets you add the DS record, or adds it for you.It is on and you need to move or switch it off: see the safe order below.

Turning it off is never just a switch at your DNS provider. Cloudflare's own steps for rolling DNSSEC back remove the DS record at the registrar first and keep signing until that record has expired. Why the order matters is under the mistake that takes a domain offline.

What DNSSEC stops

Every visit to your site, and every email to your address, starts with a DNS lookup. Without DNSSEC, an attacker who can tamper with those answers can send visitors to a copy of your site, or redirect your email, and nothing in the answer looks wrong. With DNSSEC, the signature check fails and the forged answer is refused. Cloudflare puts it simply: it "prevents anyone else from issuing false DNS records on your behalf" (Cloudflare).

What it doesn't do: it doesn't encrypt anything, and it doesn't protect your website itself; https, security headers and keeping software updated still do that.

How it works, in two parts

  1. Your DNS provider signs your records. Whoever runs your DNS (your host, Cloudflare, your registrar) creates signing keys and adds signatures to every record.
  2. Your registrar vouches for the keys. You add a DS record, a short fingerprint of your key, at your domain registrar, which passes it up to the domain ending (.com, .co…). That links your signatures into the chain of trust.

Both parts are needed. Signed records without a DS record aren't checked; a DS record that doesn't match your keys makes your domain fail to load for many visitors.

Does a small business need it?

It isn't required, and many small sites don't have it. But it is often included at no extra cost, protects your website and email from a kind of attack you would never notice, and is the current best practice for DNS (RFC 9364). Turn it on if your DNS provider supports it and you aren't planning to move DNS soon. If you are, move first and turn it on afterwards.

How to turn it on

  1. In your DNS provider's settings, find DNSSEC and choose Enable. It shows you a DS record (key tag, algorithm, digest type and digest).
  2. At your domain registrar, open the domain's DNSSEC settings and add those DS values exactly. If your DNS provider is also your registrar, this step is often done for you.
  3. Check it with the free scan, or any online DNSSEC checker, once the registrar has published it.

The mistake that takes a domain offline

Changing DNS provider (for example, moving to Cloudflare or to a new host) while the old DS record is still at your registrar. The new provider's keys don't match the old fingerprint, and resolvers that check DNSSEC refuse your domain; Cloudflare warns they "will return SERVFAIL". The safe order:

  1. Remove the DS record at your registrar.
  2. Wait for the old record to expire from caches (your DNS provider shows how long).
  3. Change your nameservers to the new provider.
  4. Turn DNSSEC on at the new provider and add its new DS record at the registrar.

The same applies to turning DNSSEC off: remove the DS record first, then stop signing. If you are planning a move, see also CAA records, which sit in the same DNS settings.

How to check if DNSSEC is on

DNSSEC is only really on when both parts are in place, so check from the outside rather than trusting one settings page:

  1. Run the free scan. Its DNSSEC check asks a resolver that checks DNSSEC about your domain and reports whether the answer comes back signed and validated, which needs both your provider's signatures and the matching DS record at your registrar.
  2. Use a free online DNSSEC checker, such as DNSViz or Verisign's DNSSEC Debugger. Enter your domain and they show each link from the domain ending down to your records, with any broken link flagged.
  3. Look at your registrar's DNSSEC settings. A DS record listed there means the registrar half is done. An empty list means DNSSEC isn't fully on, even if your DNS provider says it is signing. If a DS record is listed but your DNS provider has DNSSEC switched off, fix that straight away: it is the mismatch described above.

Checklist

Questions people ask

Is DNSSEC the same as https?
No. https protects the connection between a visitor and your website. DNSSEC protects the step before that: looking up which server your domain points to. They work together.
Can DNSSEC break my website?
Only if it is set up inconsistently, most often by changing DNS provider while the old DNSSEC record is still at the registrar. Follow the order in this guide and it is safe.
Does DNSSEC encrypt anything?
No. It proves that DNS answers are genuine and unchanged; it doesn't hide them.
Where do I turn DNSSEC on?
In two places: at whoever runs your DNS (it signs your records and gives you a DS record), and at your domain registrar (where you add that DS record). Some providers that are also your registrar do both in one click.
Should DNSSEC be on or off?
On, for most businesses, as long as your DNS provider supports it and you aren't about to change DNS provider. If a move is coming, turn it on after the move. If it is already on and you need to move or switch it off, remove the DS record at your registrar first, wait for it to expire from caches, and only then stop signing or change provider.
How do I know if DNSSEC is turned on?
Run the free scan, which reports whether your domain's DNS answers come back signed and validated, or use a free online DNSSEC checker such as DNSViz or Verisign's DNSSEC Debugger. You can also look at your registrar's DNSSEC settings: if no DS record is listed there, DNSSEC isn't fully on, even when your DNS provider says it is signing.

What the free scan checks for this

These are the FocalScore checks that cover this guide's subject. Each one in your report says what it found, shows the evidence and gives the fix.

Sources

Last checked . Documentation, settings and rules change; if one of these pages now says something different, it is right and this guide is out of date. Tell us at info@focalscore.com.

  1. RFC 4033: DNS Security Introduction and Requirements
  2. Cloudflare: DNSSEC
  3. RFC 9364: DNS Security Extensions (DNSSEC)