Get a zone's DNSSEC status

POST https://{{host}}/config-dns/v2/zones/dns-sec-status

Returns the current DNSSEC status for one or more zones.

Request Params

KeyDatatypeRequiredDescription
accountSwitchKeystring(Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Request Body

{"comment"=>"Removing rivers and streams.", "zones"=>["river.com", "stream.com"]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"dnsSecStatuses":[{"alerts":[],"currentRecords":{"dnskeyRecord":"river.com. 7200 IN DNSKEY 257 3 8 (xxxxxxxxxxxxxxxxxxxxxxxx)","dsRecord":"river.com. 86400 IN DS 47539 8 2 (xxxxxxxxxxx)","expectedTtl":3600,"lastModifiedDate":"2021-06-02T17:42:35.456Z"},"zone":"river.com"},{"alerts":["OLD_DNSKEY"],"currentRecords":{"dnskeyRecord":"stream.com. 7200 IN DNSKEY 257 3 8 (xxxxxxxxxxxxxxxxxxxxxxxx)","dsRecord":"stream.com. 86400 IN DS 47539 8 2 (xxxxxxxxxxx)","expectedTtl":3600,"lastModifiedDate":"2021-01-15T09:31:36.195Z"},"newRecords":{"dnskeyRecord":"stream.com. 7200 IN DNSKEY 257 3 8 (xxxxxxxxxxxxxxxxxxxxxxxx)","dsRecord":"stream.com. 86400 IN DS 47539 8 2 (xxxxxxxxxxx)","expectedTtl":3600,"lastModifiedDate":"2021-04-15T08:00:00.418Z"},"zone":"stream.com"}]}