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,
  "Algorithm": 123,
  "KeyTag": 123,
  "Flags": 123,
  "DsConfigured": true,
  "DsRecord": "<string>",
  "Digest": "<string>",
  "DigestType": "<string>",
  "PublicKey": "<string>"
}

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
required
Algorithm
integer<int32>
required
KeyTag
integer<int32>
required
Flags
integer<int32>
required
DsConfigured
boolean
required
DsRecord
string | null
Digest
string | null
DigestType
string | null
PublicKey
string | null