Validate a DNS zone
eurodns_dns_check_zoneValidate a complete DNS zone before saving: submit records, URL forwards, and mail forwards to receive a per-record error report without changing anything. Use this check to catch problems and avoid a rejected save.
Instructions
Validates the candidate zone in body against the API’s rules for domainName and returns it with a per-record report of errors, without saving anything. Use it before eurodns_dns_save_zone, whose rejection is a bare 400. It does not preview what a change would alter, which is what eurodns_dns_diff_zone reports. The body must be the complete zone — records, urlForwards and mailForwards — with values in rdata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The candidate zone to validate: records, urlForwards and mailForwards in the shape eurodns_dns_get_zone returns. Nothing is saved. | |
| 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. |