Validate a DNS zone
eurodns_dns_check_zoneValidate a candidate DNS zone before saving, receiving a per-record report that identifies errors and warnings without applying any changes.
Instructions
Validates a candidate zone and returns a per-record report, without changing anything. Use it before eurodns_dns_save_zone: a rejected save returns only a generic error, while this returns the reason for each offending record.
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. |