domains
PUT /v1/domains/{domainId}/dnssec
Switch DNSSEC on or off for one zone.
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
| Name | Type | Required | What it is |
|---|---|---|---|
domainId (path) | Uuid | Yes | The domain's id. |
Request body
| Name | Type | Required | What it is |
|---|---|---|---|
enabled | boolean | Yes | — |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
status | string<off, enabling, awaiting_ds, on, disabling, failed> | Yes | — |
detail | string | Yes | What the zone is waiting for, in English (the card translates by status). |
hosted | boolean | Yes | Whether the zone's DNS is hosted with us (DNSSEC is switched on where the DNS is hosted). |
available | boolean | Yes | — |
unavailable_reason | string | Yes | Refusal key when not available. |
ds_records | object[] | Yes | — |
publishes_ds_for_you | boolean | Yes | — |
changed_at | string | Yes | — |
verified_at | string | Yes | When the parent's DS was last seen matching (status on). |
Errors this endpoint can return
400 · 401 · 403 · 404 · 409 · 429