API referenceSections

DNS

22 operations. Open one for its parameters, request body, responses and examples.

MethodPathSummary
GET/api/v1/tenants/{tid}/dns/templateThe record template new zones start from (ADR 0093); provider and resellers only
PUT/api/v1/tenants/{tid}/dns/templateKeep a new template; the old one becomes the prior a merge compares with
DELETE/api/v1/tenants/{tid}/dns/templateDrop the tenant's own template and inherit again
POST/api/v1/tenants/{tid}/dns/template/applyApply the template to the chosen zones
POST/api/v1/tenants/{tid}/dns/template/previewWhat applying the template would add and remove, zone by zone; changes nothing
GET/api/v1/tenants/{tid}/dns/zonesDNS zones the panel holds (ADR 0033)
POST/api/v1/tenants/{tid}/dns/zonesAdd a zone to prove; it is served only once proven
GET/api/v1/tenants/{tid}/dns/zones/{zid}One zone with its records
DELETE/api/v1/tenants/{tid}/dns/zones/{zid}Take the zone off the server and forget it
PUT/api/v1/tenants/{tid}/dns/zones/{zid}/cloudflare-tokenReplace the Cloudflare token with one that reaches the same zone
PUT/api/v1/tenants/{tid}/dns/zones/{zid}/credentialsReplace an outside zone's credentials with ones that reach the same zone
GET/api/v1/tenants/{tid}/dns/zones/{zid}/dnssecThe zone's DNSSEC as of the last check (ADR 0094)
POST/api/v1/tenants/{tid}/dns/zones/{zid}/dnssec/refreshAsk the server how the zone is signed now
POST/api/v1/tenants/{tid}/dns/zones/{zid}/dnssec/signSign the zone on Microsoft DNS, with automatic key rollover
POST/api/v1/tenants/{tid}/dns/zones/{zid}/dnssec/unsignUnsign the zone and remove its keys; take the DS off at the registrar first
PUT/api/v1/tenants/{tid}/dns/zones/{zid}/recordsReplace the zone's records; a served zone changes on the server first
POST/api/v1/tenants/{tid}/dns/zones/{zid}/refreshTake the records Cloudflare holds now as the zone's records
POST/api/v1/tenants/{tid}/dns/zones/{zid}/verifyProve the zone by its public NS or TXT record, or with a reason; then serve it
GET/api/v1/tenants/{tid}/servers/{id}/dns-secondariesThe secondaries allowed to copy this server's zones (ADR 0095)
POST/api/v1/tenants/{tid}/servers/{id}/dns-secondariesAdd a secondary, another panel server or an outside one by address
POST/api/v1/tenants/{tid}/servers/{id}/dns-secondaries/syncApply every zone again with the current transfer list
DELETE/api/v1/tenants/{tid}/servers/{id}/dns-secondaries/{sid}Remove a secondary; transfers to it end