DNS: Zone
Validate DNS records
Validate DNS records prior to update for the selected domain.
If the validation is successful, the response will contain 200 Success code. If there is validation error, the response will fail with 422 Validation error code.
Use this endpoint to verify DNS record validity before applying changes.
post/api/dns/v1/zones/{domain}/validate
Path parameters
domainstring required
Example:mydomain.tld
Domain name
Request body
Example request
{
"overwrite": true,
"zone": [
{
"name": "www",
"records": [
{
"content": "mydomain.tld."
}
],
"ttl": 14400,
"type": "A"
}
]
}Response
Success response
Example response
{
"message": "Request accepted"
}