Multi-Signer DNSSEC: RFC 8901 Models, Key Exchange, and Migration
How multi-signer DNSSEC keeps validation working when two authoritative DNS providers sign the same zone, per RFC 8901 and Cloudflare.
This page summarizes Cloudflare documentation on multi-signer DNSSEC: signing the same zone at two (or more) authoritative providers without turning DNSSEC off at the registrar. It is the advanced alternative to removing DS records before a nameserver change, and it is required when you run multi-provider DNS or outgoing/incoming zone transfers with DNSSEC enabled.
Multi-signer DNSSEC: why two providers signing one zone
Section titled “Multi-signer DNSSEC: why two providers signing one zone”Multi-signer DNSSEC lets different authoritative DNS providers serve the same zone with DNSSEC enabled at the same time.
Multi-signer DNSSEC consists of two models that allow different authoritative DNS providers to serve the same zone and have DNSSEC enabled at the same time.
— Cloudflare, About multi-signer DNSSEC
That matters when records are live-signed at query time (typical for dynamic DNS), and when you want to migrate to Cloudflare without disabling DNSSEC—provided the other provider can publish external DNSKEY records on the zone apex.
The usual migration path is simpler: remove DS at the registrar, wait for TTL, change nameservers, then enable DNSSEC on Cloudflare (DNSSEC). Multi-signer DNSSEC is for teams that must keep validation unbroken during the transition (Migrate an existing zone with DNSSEC enabled).
When resolvers break without multi-signer DNSSEC
Section titled “When resolvers break without multi-signer DNSSEC”A validating resolver might cache a DNSKEY RRset from provider A but later get answers signed by provider B. Without coordinated keys, the chain of trust fails and clients can see SERVFAIL (Validation and keys).
An example case where validation would otherwise be an issue is if a resolver has cached a DNSKEY record set ↗︎ from one provider but receives a response signed by another provider.
— Cloudflare, About multi-signer DNSSEC
Multi-signer setup adjusts Zone Signing Keys (ZSK) in each provider’s DNSKEY RRset and who owns the Secure Entry Point (SEP)—the Key Signing Keys (KSK) and parent DS records—so validation still completes.
RFC 8901 model 1 vs model 2: one KSK or two
Section titled “RFC 8901 model 1 vs model 2: one KSK or two”Both models require every provider to include every peer’s ZSK (flag 256) in its apex DNSKEY RRset. They differ in how KSKs (flag 257) and DS records at the registrar work.
| Aspect | Model 1 | Model 2 (Cloudflare recommendation) |
|---|---|---|
| KSK count | One KSK signs all providers’ DNSKEY RRsets |
Each provider signs its own DNSKEY RRset with its own KSK |
SEP / DS |
One KSK; one party owns KSK and parent DS |
Each KSK referenced by its own DS at the registrar |
| Independence | Centralized KSK management | Better independence and flexibility |
Cloudflare recommends model 2 for multi-signer setups. In this model, each provider has their own KSK DNSKEY, resulting in two DS records (one for each provider).
— Cloudflare, About multi-signer DNSSEC
In model 2, on the other hand, each provider uses its own KSK to sign its own DNSKEY record set, and these KSKs are then referenced by the DS record (Secure Entry Point).
— Cloudflare, About multi-signer DNSSEC
Set up multi-signer DNSSEC documents Cloudflare’s procedure using model 2 per RFC 8901.
DNSKEY flags when exchanging keys
Section titled “DNSKEY flags when exchanging keys”ZSKs (Zone Signing Keys): flag 256
KSKs (Key Signing Keys): flag 257When exchanging keys between providers, ensure you are adding the correct key type (typically ZSKs) to the DNSKEY RRset.
— Cloudflare, About multi-signer DNSSEC
Cross-import ZSKs only unless you deliberately add a peer’s KSK for CDS/CDNSKEY tooling (About multi-signer DNSSEC).
Cloudflare multi-signer DNSSEC: what changes on the zone
Section titled “Cloudflare multi-signer DNSSEC: what changes on the zone”When multi-signer DNSSEC is enabled on Cloudflare, the platform exposes peer DNSKEYs, signs them appropriately for model 2, and can emit CDS/CDNSKEY when you add a peer KSK.
When you turn on multi-signer DNSSEC on Cloudflare, the following changes occur:
Internal flag: Cloudflare sets an internal flag that allows you to add DNSKEY records to your zone.
External ZSKs included: When you add DNSKEY records from your secondary provider, Cloudflare includes them in the DNSKEY RRset.
Signing with Cloudflare’s KSK: Cloudflare signs the external ZSKs with Cloudflare’s KSK, creating a Multi-signer DNSSEC Model 2 RRset.
CDS/CDNSKEY generation: If you add your other provider’s KSK (not required but recommended), Cloudflare produces CDS/CDNSKEY RRsets for compatibility with validation tools.— Cloudflare, About multi-signer DNSSEC
Enable DNSSEC and multi-signer mode via the dashboard or Edit DNSSEC Status (status: active, dnssec_multi_signer: true).
Multi-provider DNS and zone transfers: where multi-signer fits
Section titled “Multi-provider DNS and zone transfers: where multi-signer fits”Multi-provider DNS on a primary (full) zone
Section titled “Multi-provider DNS on a primary (full) zone”With multi-provider DNS enabled on a primary zone, apex NS responses include Cloudflare and external nameservers, and Cloudflare can activate full setup even if the registrar still lists other nameservers.
If you choose this option and you also want to use DNSSEC on your zone, make sure to set up multi-signer DNSSEC.
— Cloudflare, Nameserver options
Primary + secondary via outgoing zone transfers should use multi-signer DNSSEC; Cloudflare’s ZSK is not transferred out automatically—you must fetch it and add it at the peer (Set up DNSSEC with Cloudflare as Primary).
DNSSEC options when Cloudflare is secondary
Section titled “DNSSEC options when Cloudflare is secondary”With incoming zone transfers, Cloudflare documents three DNSSEC modes (DNSSEC options for secondary):
| Option | Behavior | Multi-signer relation |
|---|---|---|
| Multi-signer DNSSEC | Both providers know each other’s keys; live-sign per RFC 8901 | Same key-coordination model as this page |
| Live signing | Cloudflare signs when only Cloudflare secondary NS are public (“hidden primary”) | Single signer at the edge; primary DNSSEC can be off |
| Pre-signed | Primary signs; signatures transfer via AXFR/IXFR; Cloudflare serves as-is | Not multi-signer; breaks Secondary DNS override and load balancing proxying |
Proxy traffic through Cloudflare with Secondary DNS Override requires DNSSEC to be Unsigned or Live signing, not Pre-signed.
Migrate with DNSSEC still enabled: cross-import ZSKs and registrar DS
Section titled “Migrate with DNSSEC still enabled: cross-import ZSKs and registrar DS”The active migration tutorial requires the previous provider to allow apex DNSKEY records in live responses.
High-level flow:
- Add the zone on Cloudflare; enable DNSSEC and multi-signer DNSSEC.
- Cross-import ZSKs: create a
DNSKEY(flags256) for the old provider on Cloudflare; add Cloudflare’s ZSK to the old provider (Migrate an existing zone with DNSSEC enabled). - At the registrar: add Cloudflare’s
DS, add Cloudflare nameservers (both providers’DSand NS during overlap). - Remove the previous provider’s
DSand nameservers; after ≥ 1.5× the oldDSTTL, remove the old provider’sDNSKEYfrom Cloudflare.
Verify both nameservers return both ZSKs, for example:
dig <ZONE_NAME> dnskey @<PREVIOUS_PROVIDER_NAMESERVER> +noall +answerdig <ZONE_NAME> dnskey @<CLOUDFLARE_NAMESERVER> +noall +answer(Migrate an existing zone with DNSSEC enabled)
If you change nameservers while an old DS is still cached, validating resolvers return SERVFAIL (DNSSEC).
Common mistakes: provider support, stale DS, and wrong DNSSEC mode
Section titled “Common mistakes: provider support, stale DS, and wrong DNSSEC mode”- Onboarding full setup with registrar DNSSEC still on — Cloudflare warns of
SERVFAIL, no resolution, or Pending zones untilDSis removed (Cannot add domain, Pending nameservers). - Assuming any peer supports external
DNSKEYs — confirm multi-signer support before migration (About multi-signer DNSSEC). - Mixing Pre-signed secondary DNSSEC with proxy overrides — Pre-signed forces DNS-only records (DNSSEC options for secondary).
- Leaving Pre-signed enabled after converting secondary → full — can cause
REFUSEDat the edge; checkdnssec_presigned(Convert secondary setup to full setup). - Swapping KSK for ZSK when importing keys (flags
257vs256).
For validation failures after NS changes, compare dig +dnssec vs dig +cd: answers only with +cd often mean stale or mismatched DS (Troubleshooting DNSSEC).
How to check this on your site
Section titled “How to check this on your site”-
Query apex
DNSKEYon each authoritative nameserver and confirm every peer’s ZSK (flag256) appears in both RRsets, as in Migrate an existing zone with DNSSEC enabled. -
Run
dig +short DS <your-domain>and confirm oneDSper active KSK in your multi-signer model (twoDSrecords for model 2). -
Use
dig <hostname> +dnssecagainst a validating resolver such as 1.1.1.1 and confirmadin the header andRRSIGin the answer (Troubleshooting DNSSEC). -
Visualize the chain with DNSViz (Troubleshooting DNSSEC).
-
You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact statement you are asking about, and we will look into it.