update_dns
Modify DNS records for domains by updating type, name, value, or TTL. Input domain and record UUIDs to ensure accurate changes and maintain domain management.
Instructions
Update an existing DNS record for a domain.
NOTE: Updating a record will change its record id.
domain_id: Domain UUID (e.g., 'd1234567-89ab-cdef-0123-456789abcdef')
record_id: DNS record UUID to update
type: DNS record type ('A', 'AAAA', 'CNAME', 'MX', 'TXT', etc.)
name: Subdomain or record name (e.g., 'www' for www.yourdomain.com)
value: New record value (e.g., IP address for A records)
ttl: Time To Live in seconds (default: 3600)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
domain_id | Yes | ||
name | No | test-2 | |
record_id | Yes | ||
ttl | No | ||
type | No | TXT | |
value | No | test-2 |
Input Schema (JSON Schema)
{
"properties": {
"domain_id": {
"title": "Domain Id",
"type": "string"
},
"name": {
"default": "test-2",
"title": "Name",
"type": "string"
},
"record_id": {
"title": "Record Id",
"type": "string"
},
"ttl": {
"default": 3600,
"title": "Ttl",
"type": "integer"
},
"type": {
"default": "TXT",
"title": "Type",
"type": "string"
},
"value": {
"default": "test-2",
"title": "Value",
"type": "string"
}
},
"required": [
"domain_id",
"record_id"
],
"title": "update_dnsArguments",
"type": "object"
}