Skip to content
Dorian FINKEL
DNSSECDNSCloudflareTutorial · 2026 · 2 min read · Updated 9 October 2026
Level · BeginnerDuration · 15 min

Enable DNSSEC on a domain managed at Cloudflare

Sign your DNS zone so no answer can be forged: one button at Cloudflare, a DS record at the registrar, and three commands to check the chain of trust.

Prerequisites

  • A domain whose DNS is managed at Cloudflare
  • Access to the domain’s registrar account

01The principle: a chain of trust

DNSSEC adds signatures (RRSIG) to every answer from the zone. The public key used to check them (DNSKEY) is itself vouched for by a DS record published in the parent zone (.com, .fr…), which is in turn signed by the root. A validating resolver walks up that chain: a forged answer cannot carry a valid signature.

DNSSEC guarantees the authenticity of answers, not their confidentiality: queries remain readable, which is the job of DoT or DoH.

02Enable it at Cloudflare

DNS › Settings › Enable DNSSEC. Cloudflare signs the zone straight away and displays the DS values: key tag, algorithm 13 (ECDSA P-256 with SHA-256), digest type 2 (SHA-256) and digest.

03Publish the DS at the registrar

If the domain is registered with Cloudflare Registrar, there is nothing to do: the DS is sent to the registry automatically, within one to two days. Otherwise, copy those values into your registrar’s DNSSEC interface. Some call the algorithm “ECDSA Curve P-256 with SHA-256”.

04Verify

The DS must appear in the parent zone, and a validating resolver must mark answers as authenticated: the ad flag with dig, “fully validated” with delv. DNSViz draws the whole chain and flags every broken link.

Example · Shell
dig +short DS example.com               # the DS is published at the parent
dig +dnssec example.com A @1.1.1.1      # flags: ... ad ... and an RRSIG
delv @1.1.1.1 example.com A             # "; fully validated"

05The trap: changing DNS host

If the zone moves to another host while the old DS is still published, validating resolvers reject every answer (SERVFAIL): the domain disappears for a large part of the Internet.

The order is therefore: remove the DS at the registrar, wait for its TTL to expire, and only then disable DNSSEC or migrate the zone.

Key takeaways

  • DNSSEC signs answers; it doesn’t encrypt them.
  • Two steps: sign the zone, publish the DS at the parent.
  • Cloudflare Registrar publishes the DS by itself.
  • Verify with dig (ad flag), delv and DNSViz.
  • Before any migration: remove the DS and wait for its TTL.

Example domain.

Official sources