Independent, non-commercial site. Not affiliated with, sponsored by, or endorsed by GoDaddy Inc. GODADDY is a trademark of its owner.

Putting DNSSEC Into Practice for the First Time

DNSSEC adds digital signatures to DNS answers so that resolvers can check they have not been tampered with on the way. The core standards were published by the IETF in 2005 as RFC 4033, 4034 and 4035, and the root zone has been signed since 2010. Turning it on for your own domain is mostly a matter of two parties doing their part: whoever hosts your DNS signs the zone, and your registrar passes a small record called a DS record to the registry. This plan walks through the work and the ways it can go wrong.

The step plan

Day 1: Find out who does what

  1. Confirm which provider hosts your DNS by checking the domain's nameservers.
  2. Check whether that provider supports DNSSEC signing, and whether it does it automatically.
  3. Check whether your registrar accepts DS records for your extension. Most generic registries and many country-code registries support DNSSEC, but registrar support varies.

If the registrar also hosts your DNS, the whole process may be a single switch in the control panel. If they are different companies, you will copy information from one to the other.

Day 2: Sign the zone

  1. Enable DNSSEC at the DNS host. It will create keys and publish DNSKEY records.
  2. The host will show the DS record details: a key tag, an algorithm number, a digest type and the digest itself.
  3. Leave the zone signed for a while before the next step, so that the new records are in place everywhere.

Day 3: Publish the DS record at the registrar

  1. In the registrar panel, find the DNSSEC or DS record section for the domain.
  2. Enter the four values exactly as the DNS host gave them. A single wrong character will break validation.
  3. Save, and wait for the registry to publish the record. This is often quick but can take longer depending on the registry.

Day 4: Check it

Use a public DNSSEC analysis tool or the dig command with the +dnssec option to confirm that the chain of trust is complete from the parent zone down to your records. A validating resolver should return answers with the "authenticated data" flag set.

Pitfalls and how to avoid them

PitfallEffectPrevention
DS record published before the zone is signedValidating resolvers treat the domain as brokenAlways sign first, publish DS second
Changing DNS host without removing or updating the DS recordThe domain stops resolving for validating usersPlan key changes before any move
Typo in the digestValidation failureCopy and paste; never retype
Algorithm not accepted by the registrarDS cannot be savedAsk the DNS host for a widely supported algorithm

The most serious outages with DNSSEC happen during moves, not during set-up. If you later transfer the domain or change DNS providers, the DS record at the registry must match keys that the new host actually uses. The safest approach for a simple domain is often to remove the DS record, wait for it to expire from caches, move the DNS, then sign again and publish a new DS record.

Is it worth it?

DNSSEC protects against forged DNS answers, which matters most for domains used for email, banking-style logins or anything where redirection would be harmful. It does not encrypt traffic and does not replace HTTPS. For a small site the main cost is the need to remember that DNSSEC is switched on whenever DNS changes hands. Writing that down in the domain's records, next to the expiry date, is the single most useful habit after set-up.

Sources

More on this guide: