DNS
22 operations. Open one for its parameters, request body, responses and examples.
| Method | Path | Summary |
|---|---|---|
| GET | /api/v1/tenants/{tid}/dns/template | The record template new zones start from (ADR 0093); provider and resellers only |
| PUT | /api/v1/tenants/{tid}/dns/template | Keep a new template; the old one becomes the prior a merge compares with |
| DELETE | /api/v1/tenants/{tid}/dns/template | Drop the tenant's own template and inherit again |
| POST | /api/v1/tenants/{tid}/dns/template/apply | Apply the template to the chosen zones |
| POST | /api/v1/tenants/{tid}/dns/template/preview | What applying the template would add and remove, zone by zone; changes nothing |
| GET | /api/v1/tenants/{tid}/dns/zones | DNS zones the panel holds (ADR 0033) |
| POST | /api/v1/tenants/{tid}/dns/zones | Add 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-token | Replace the Cloudflare token with one that reaches the same zone |
| PUT | /api/v1/tenants/{tid}/dns/zones/{zid}/credentials | Replace an outside zone's credentials with ones that reach the same zone |
| GET | /api/v1/tenants/{tid}/dns/zones/{zid}/dnssec | The zone's DNSSEC as of the last check (ADR 0094) |
| POST | /api/v1/tenants/{tid}/dns/zones/{zid}/dnssec/refresh | Ask the server how the zone is signed now |
| POST | /api/v1/tenants/{tid}/dns/zones/{zid}/dnssec/sign | Sign the zone on Microsoft DNS, with automatic key rollover |
| POST | /api/v1/tenants/{tid}/dns/zones/{zid}/dnssec/unsign | Unsign the zone and remove its keys; take the DS off at the registrar first |
| PUT | /api/v1/tenants/{tid}/dns/zones/{zid}/records | Replace the zone's records; a served zone changes on the server first |
| POST | /api/v1/tenants/{tid}/dns/zones/{zid}/refresh | Take the records Cloudflare holds now as the zone's records |
| POST | /api/v1/tenants/{tid}/dns/zones/{zid}/verify | Prove the zone by its public NS or TXT record, or with a reason; then serve it |
| GET | /api/v1/tenants/{tid}/servers/{id}/dns-secondaries | The secondaries allowed to copy this server's zones (ADR 0095) |
| POST | /api/v1/tenants/{tid}/servers/{id}/dns-secondaries | Add a secondary, another panel server or an outside one by address |
| POST | /api/v1/tenants/{tid}/servers/{id}/dns-secondaries/sync | Apply 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 |