Set up multi-signer DNSSEC

Last updated Apr 16, 2026 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 on the DNS Settings ↗︎ page 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. In the Cloudflare dashboard, go to the DNS Settings page. Go to Settings ↗
  2. Select Enable DNSSEC and Confirm.

Note

For the purpose of this tutorial, you will update your registrar with the DS record later, in Step 3.

  1. Also enable Multi-signer DNSSEC and Multi-provider DNS.
  2. Go to the DNS Records ↗︎ page and create the following records at your zone apex (meaning you should use @ in the record Name field):
  3. A DNSKEY record with the zone signing key(s) (ZSKs) of your external provider(s).
  4. An NS record with your external provider nameservers.

  5. Use the Edit DNSSEC Status endpoint to enable DNSSEC and activate multi-signer DNSSEC for your zone. Set status to active and dnssec_multi_signer to true, as in the following example.

<details>

<summary>

Required API token permissions

</summary>

At least one of the following <a href="https://developers.cloudflare.com/fundamentals/api/reference/permissions/">token permissions</a> is required:

  • <code>DNS Write</code>

</details>

Edit DNSSEC Statusbash

curl "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/dnssec" \
    --request PATCH \
    --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
    --json '{
        "status": "active",
        "dnssec_multi_signer": true
    }'
  1. Add the ZSK(s) of your external provider(s) to Cloudflare by creating a DNSKEY record on your zone.

<details>

<summary>

Required API token permissions

</summary>

At least one of the following <a href="https://developers.cloudflare.com/fundamentals/api/reference/permissions/">token permissions</a> is required:

  • <code>DNS Write</code>

</details>

Create DNS Recordbash

curl "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/dns_records" \
    --request POST \
    --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
    --json '{
        "type": "DNSKEY",
        "name": "<ZONE_NAME>",
        "data": {
                "flags": 256,
                "protocol": 3,
                "algorithm": 13,
                "public_key": "<PUBLIC_KEY>"
        },
        "ttl": 3600
    }'
  1. Add your external provider(s) nameservers as NS records on your zone apex.

<details>

<summary>

Required API token permissions

</summary>

At least one of the following <a href="https://developers.cloudflare.com/fundamentals/api/reference/permissions/">token permissions</a> is required:

  • <code>DNS Write</code>

</details>

Create DNS Recordbash

curl "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/dns_records" \
    --request POST \
    --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
    --json '{
        "type": "NS",
        "name": "<ZONE_NAME>",
        "content": "<NS_DOMAIN>",
        "ttl": 86400
    }'
  1. Enable the usage of the nameservers you added in the previous step by using the API request below.

Caution

This step is required. Without turning on this setting, Cloudflare will ignore any NS records created on the zone apex. This means that responses to DNS queries made to the zone apex and requesting NS records will only contain Cloudflare nameservers.

<details>

<summary>

Required API token permissions

</summary>

At least one of the following <a href="https://developers.cloudflare.com/fundamentals/api/reference/permissions/">token permissions</a> is required:

  • <code>Zone DNS Settings Write</code>
  • <code>DNS Write</code>

</details>

Update DNS Settingsbash

curl "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/dns_settings" \
    --request PATCH \
    --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
    --json '{
        "multi_provider": true
    }'

Cloudflare as Secondary

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

  1. In the Cloudflare dashboard, go to the DNS Settings page. Go to Settings ↗
  2. For DNSSEC with Secondary DNS select Live signing.

Note

For the purpose of this tutorial, you will update your registrar with the DS record later, in Step 3.

  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.

  4. Use the Edit DNSSEC Status endpoint to enable DNSSEC and activate multi-signer DNSSEC for your zone. Set status to active and dnssec_multi_signer to true, as in the following example.

<details>

<summary>

Required API token permissions

</summary>

At least one of the following <a href="https://developers.cloudflare.com/fundamentals/api/reference/permissions/">token permissions</a> is required:

  • <code>DNS Write</code>

</details>

Edit DNSSEC Statusbash

curl "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/dnssec" \
    --request PATCH \
    --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
    --json '{
        "status": "active",
        "dnssec_multi_signer": true
    }'
  1. Add the ZSK(s) of your external provider(s) to a DNSKEY record at your primary DNS provider. This record should be transferred successfully to Cloudflare.
  2. 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:

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:

$ 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 DNS Settings ↗︎ page, under 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.

Was this helpful?

YesNo

On this page

Set up multi-signer DNSSEC - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/dns/dnssec/multi-signer-dnssec/setup/#page","headline":"Set up multi-signer DNSSEC","description":"Configure multi-signer DNSSEC for your zone.","url":"https://developers.cloudflare.com/dns/dnssec/multi-signer-dnssec/setup/","inLanguage":"en","image":"https://developers.cloudflare.com/dns/dnssec/multi-signer-dnssec/setup/og.png?v=36b8a6759a58e293","dateModified":"2026-04-16","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Learn how to troubleshoot issues with DNSSEC title: Troubleshooting image: https://developers.cloudflare.com/dns/dnssec/troubleshooting/og.png?v=21a55a939107386a


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/dns/llms.txt
Use this file to discover all available pages before exploring further.