v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-151,1412,2144.5 MB
DNSSEC

Toggle DNSSEC

Enable or disable DNSSEC for a DNS zone.

patch/dns/v2/zones/{name}/dnssec

Path parameters

namestring required

Request body

enabledboolean

Response

ToggleDNSSECResponse

algorithmstring

Specifies the algorithm used for the key.

digeststring

Represents the hashed value of the DS record.

digest_algorithmstring

Specifies the algorithm used to generate the digest.

digest_typestring

Specifies the type of the digest algorithm used.

dsstring

Represents the complete DS record.

flagsinteger

Represents the flag for DNSSEC record.

key_taginteger

Represents the identifier of the DNSKEY record.

key_typestring

Specifies the type of the key used in the algorithm.

messagestring
public_keystring

Represents the public key used in the DS record.

uuidstring

Example response

{
  "algorithm": "13",
  "digest": "28D2F00FB7FD127C05D1CE02BFA8660B094CA6728B1619ABA2144234F7221069",
  "digest_algorithm": "SHA256",
  "digest_type": "2",
  "ds": "zxy.com. 3600 IN DS 26191 13 2 135E208FF18578AB18C1EB8EA064BE08324DCBA6CF08FF55D76F0DBD4BF49F07",
  "flags": 257,
  "key_tag": 26191,
  "key_type": "ECDSAP256SHA256",
  "public_key": "ahD2C5Th+4NIFmErQPgSe/j6yPc2pbuhr3QcOJImCYHtv/mR/2qP2yHjBE1x20ERnmAnp6e6//g0uYAQKTW+DA=="
}