validate_record
Validate DNS record configuration for A, AAAA, CNAME, MX, TXT, NS, or SRV types before creation to prevent errors in Vultr DNS management.
Instructions
Validate a DNS record before creation.
Args: record_type: Record type (A, AAAA, CNAME, MX, TXT, NS, SRV) name: Record name/subdomain data: Record data/value ttl: Time to live in seconds priority: Priority for MX/SRV records
Returns: Validation results with any errors or warnings
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data | Yes | ||
name | Yes | ||
priority | No | ||
record_type | Yes | ||
ttl | No |
Input Schema (JSON Schema)
{
"properties": {
"data": {
"title": "Data",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
},
"priority": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Priority"
},
"record_type": {
"title": "Record Type",
"type": "string"
},
"ttl": {
"default": 300,
"title": "Ttl",
"type": "integer"
}
},
"required": [
"record_type",
"name",
"data"
],
"type": "object"
}