Save a DNS zone
eurodns_dns_save_zoneReplaces an entire DNS zone with the submitted document. Anything absent is deleted, so submit a complete zone. For single-record changes, use an upsert operation instead.
Instructions
Replaces a zone in its entirety. Anything absent from the submitted document is deleted, so this is only safe with a complete zone you have just read. To change one record, prefer eurodns_dns_upsert_record, which reads, validates and saves for you.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The complete zone as returned by eurodns_dns_get_zone, with your changes applied: records, urlForwards and mailForwards. Anything left out is deleted; record values go in rdata. | |
| domainName | Yes | Name of the zone, e.g. example.com: a domain whose DNS is hosted here. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Response body as returned by the API. | |
| status | Yes | Upstream HTTP status code. |