domains

PUT /v1/domains/{domainId}/dnssec

Switch DNSSEC on or off for one zone.

All domains endpoints

All developer docs →

Zinn®, our Viking, hammering at his anvil beside an API endpoint sending events to several listeners.

Authentication

Send an API key as a bearer token. The key must carry the domains.dns.manage permission; a key without it is refused with 403, not 404.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X PUT https://api.zinndigital.com/v1/domains/{domainId}/dnssec \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "enabled": <boolean> }'

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

P6e-017. enabled: true signs the zone at its DNS network, publishes the DS at the registrar when the domain is registered with us (otherwise shows it to copy) and reports on only once the parent publishes it. enabled: false withdraws the DS first, waits until the parent stops publishing it and its cached copies have expired (the DS TTL, a day when unknown), and only then stops signing. Both run in the background (202); sending the current value again re-checks now. One zone per request: there is no bulk form. While DNSSEC is not off, a nameserver change is refused and a CDN or DNS-network move waits for off. Requires domains.dns.manage.

Parameters

NameTypeRequiredWhat it is
domainId (path)UuidYesThe domain's id.

Request body

NameTypeRequiredWhat it is
enabledbooleanYes—

Response

NameTypeRequiredWhat it is
statusstring<off, enabling, awaiting_ds, on, disabling, failed>Yes—
detailstringYesWhat the zone is waiting for, in English (the card translates by status).
hostedbooleanYesWhether the zone's DNS is hosted with us (DNSSEC is switched on where the DNS is hosted).
availablebooleanYes—
unavailable_reasonstringYesRefusal key when not available.
ds_recordsobject[]Yes—
publishes_ds_for_youbooleanYes—
changed_atstringYes—
verified_atstringYesWhen the parent's DS was last seen matching (status on).

Errors this endpoint can return

400 · 401 · 403 · 404 · 409 · 429