update_dns_record
Modify existing DNS records to change type, name, content, TTL, or proxy settings for domain management and configuration updates.
Instructions
Update an existing DNS record. Can modify type, name, content, TTL, proxy status, etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone_id | Yes | The zone ID | |
| record_id | Yes | The DNS record ID to update | |
| type | Yes | DNS record type | |
| name | Yes | DNS record name | |
| content | Yes | DNS record content | |
| ttl | No | Time to live | |
| proxied | No | Whether the record is proxied through Cloudflare | |
| priority | No | Priority (for MX, SRV records) | |
| comment | No | Comment for the DNS record |
Input Schema (JSON Schema)
{
"properties": {
"comment": {
"description": "Comment for the DNS record",
"type": "string"
},
"content": {
"description": "DNS record content",
"type": "string"
},
"name": {
"description": "DNS record name",
"type": "string"
},
"priority": {
"description": "Priority (for MX, SRV records)",
"type": "number"
},
"proxied": {
"description": "Whether the record is proxied through Cloudflare",
"type": "boolean"
},
"record_id": {
"description": "The DNS record ID to update",
"type": "string"
},
"ttl": {
"description": "Time to live",
"type": "number"
},
"type": {
"description": "DNS record type",
"type": "string"
},
"zone_id": {
"description": "The zone ID",
"type": "string"
}
},
"required": [
"zone_id",
"record_id",
"type",
"name",
"content"
],
"type": "object"
}