Skip to content
Start here

DNSSEC

DNSSEC Details
client.DNS.DNSSEC.Get(ctx, query) (*DNSSEC, error)
GET/zones/{zone_id}/dnssec
Edit DNSSEC Status
client.DNS.DNSSEC.Edit(ctx, params) (*DNSSEC, error)
PATCH/zones/{zone_id}/dnssec
Delete DNSSEC records
client.DNS.DNSSEC.Delete(ctx, body) (*string, error)
DELETE/zones/{zone_id}/dnssec
ModelsExpand Collapse
type DNSSEC struct{…}
Algorithm stringoptional

Algorithm key code.

Digest stringoptional

Digest hash.

DigestAlgorithm stringoptional

Type of digest algorithm.

DigestType stringoptional

Coded type for digest algorithm.

DNSSECMultiSigner booloptional

If true, multi-signer DNSSEC is enabled on the zone, allowing multiple providers to serve a DNSSEC-signed zone at the same time. This is required for DNSKEY records (except those automatically generated by Cloudflare) to be added to the zone.

See Multi-signer DNSSEC for details.

DNSSECPresigned booloptional

If true, allows Cloudflare to transfer in a DNSSEC-signed zone including signatures from an external provider, without requiring Cloudflare to sign any records on the fly.

Note that this feature has some limitations. See Cloudflare as Secondary for details.

DNSSECUseNsec3 booloptional

If true, enables the use of NSEC3 together with DNSSEC on the zone. Combined with setting dnssec_presigned to true, this enables the use of NSEC3 records when transferring in from an external provider. If dnssec_presigned is instead set to false (default), NSEC3 records will be generated and signed at request time.

See DNSSEC with NSEC3 for details.

DS stringoptional

Full DS record.

Flags float64optional

Flag for DNSSEC record.

KeyTag float64optional

Code for key tag.

KeyType stringoptional

Algorithm key type.

ModifiedOn Timeoptional

When DNSSEC was last modified.

formatdate-time
PublicKey stringoptional

Public key for DS record.

Status DNSSECStatusoptional

Status of DNSSEC, based on user-desired state and presence of necessary records.

One of the following:
const DNSSECStatusActive DNSSECStatus = "active"
const DNSSECStatusPending DNSSECStatus = "pending"
const DNSSECStatusDisabled DNSSECStatus = "disabled"
const DNSSECStatusPendingDisabled DNSSECStatus = "pending-disabled"
const DNSSECStatusError DNSSECStatus = "error"