Skip to main content
POST
/
dnszone
/
{id}
/
dnssec
Enable DNSSEC on a DNS Zone
curl --request POST \
  --url https://api.bunny.net/dnszone/{id}/dnssec \
  --header 'AccessKey: <api-key>'
{
  "Enabled": true,
  "DsRecord": "<string>",
  "Digest": "<string>",
  "DigestType": "<string>",
  "Algorithm": 123,
  "PublicKey": "<string>",
  "KeyTag": 123,
  "Flags": 123,
  "DsConfigured": true
}

Authorizations

AccessKey
string
header
required

API Access Key authorization header

Path Parameters

id
integer<int64>
required

The ID of the DNS Zone for which DNSSEC will be enabled

Response

Returns the DS record information for the DNS Zone with the given ID

Enabled
boolean
DsRecord
string | null
Digest
string | null
DigestType
string | null
Algorithm
integer<int32>
PublicKey
string | null
KeyTag
integer<int32>
Flags
integer<int32>
DsConfigured
boolean