CDNSKEY Record
Child DNSKEY
- Type code
- 60
- Status
- In use
- Defined in
- RFC 7344
What the CDNSKEY record is for
CDNSKEY is the companion to CDS. Instead of a digest, the child publishes a copy of the DNSKEY it wants the parent to reference. The parent computes the DS digest itself, which suits registries that choose the digest type or store keys rather than digests.
It has the same format as DNSKEY. The delete form, CDNSKEY 0 3 0 AA==, asks the parent to remove all DS records for the delegation (RFC 8078). When a zone publishes both CDS and CDNSKEY, the two must describe the same keys.
Wire format and fields
| Field | Size | Meaning |
|---|---|---|
| Flags | 16 bits | The flags of the referenced DNSKEY, normally 257 (zone key with SEP set). 0 in the delete form. |
| Protocol | 8 bits | Must be 3. |
| Algorithm | 8 bits | The DNSSEC algorithm number of the key. 0 only in the delete form. |
| Public Key | variable | The public key, as in DNSKEY. |
Zone file syntax
<zone> <ttl> IN CDNSKEY <flags> <protocol> <algorithm> <public key (base64)>
Example
The CDNSKEY record at cloudflare.com, fetched from live DNS on 27 November 2026:
cloudflare.com. 3600 IN CDNSKEY 257 3 13 mdsswUyr3DPW132mOi8V9xESWE8jTo0dxCjjnopKl+GqJxpVXckHAeF+ KkxLbxILfDLUT0rAK9iUzy1L53eKGQ==
A copy of the cloudflare.com key-signing key.
Common mistakes
- Publishing CDS and CDNSKEY sets that refer to different keys. Parents are expected to treat that as an error and not act.
- Copying the zone-signing key (flags 256) into CDNSKEY instead of the key-signing key that signs the DNSKEY set.
- Leaving a stale CDNSKEY after a key rollover, so a polling parent restores a DS for a key that is no longer published.
Specifications
- RFC 7344: Automating DNSSEC Delegation Trust Maintenance
- RFC 8078: Managing DS Records from the Parent via CDS/CDNSKEY (Adds the delete form and ways to start DNSSEC on an unsigned delegation.)
- RFC 9615: Automatic DNSSEC Bootstrapping Using Authenticated Signals from the Zone's Operator (Defines authenticated bootstrapping of the first DS.)
- RFC 9975: Clarifications on CDS/CDNSKEY and CSYNC Consistency (Requires parents to check that CDS/CDNSKEY are consistent across all authoritative servers before acting.)
- IANA DNS Resource Record (RR) TYPEs registry: type code and status
Related record types
Domain Intelligence APIs
Get started with our easy-to-use API docs.