Skip to content

Set up multi-signer DNSSEC

This page explains how you can enable multi-signer DNSSEC with Cloudflare, using the model 2 as described in RFC 8901.

Before you begin

Note that:

  • This process requires that your other DNS provider(s) also support multi-signer DNSSEC.
  • Although you can complete a few steps via the dashboard, currently the whole process can only be completed using the API.
  • Enabling DNSSEC and Multi-signer DNSSEC in DNS > Settings only replaces the first step in 1. Set up Cloudflare zone. You still have to follow the rest of this tutorial to complete the setup.

1. Set up Cloudflare zone

Cloudflare as Primary (full setup)

If you use Cloudflare as a primary DNS provider, meaning that you manage your DNS records in Cloudflare, do the following:

  1. Log in to the Cloudflare dashboard and select your account and zone.
  2. Go to DNS > Settings.
  3. Select Enable DNSSEC and Confirm.
  1. Also enable Multi-signer DNSSEC and Multi-provider DNS.
  2. Go to DNS > Records and create the following records at your zone apex (meaning you should use @ in the record Name field):
    • A DNSKEY record with the zone signing key(s) (ZSKs) of your external provider(s).
    • A NS record with your external provider nameservers.

Cloudflare as Secondary

If you use Cloudflare as a secondary DNS provider, do the following:

  1. Log in to the Cloudflare dashboard and select your account and zone.
  2. Go to DNS > Settings.
  3. For DNSSEC with Secondary DNS select Live signing.
  1. Also enable Multi-signer DNSSEC.
  2. Add the zone signing key(s) (ZSKs) of your external provider(s) to a DNSKEY record at your primary DNS provider. This record should be transferred successfully to Cloudflare.
  3. Add your external provider(s) nameservers as NS records on your zone apex at your primary DNS provider. These records should be transferred successfully to Cloudflare.

2. Set up external provider

  1. Get Cloudflare's ZSK using either the API or a query from one of the assigned Cloudflare nameservers.

API example:

Terminal window
curl "https://api.cloudflare.com/client/v4/zones/{zone_id}/dnssec/zsk" \
--header "X-Auth-Email: <EMAIL>" \
--header "X-Auth-Key: <API_KEY>"

Command line query example:

Terminal window
$ dig <ZONE_NAME> dnskey @<CLOUDFLARE_NAMESERVER> +noall +answer | grep 256
  1. Add Cloudflare's ZSK that you fetched in the previous step to the DNSKEY record set of your external provider(s).
  2. Add Cloudflare's nameservers to the NS record set at your external provider(s).

3. Set up registrar

  1. Add DS records to your registrar, one for each provider. You can see your Cloudflare DS record on the dashboard by going to DNS > Settings > DS Record.

  2. Update the nameserver settings at your registrar to include the nameservers of all providers you will be using for your multi-signer DNSSEC setup.