cloudflare_update_dns_record
Update an existing Cloudflare DNS record's content, name, TTL, proxy status, MX priority, or comment after verifying its current name; changes require administrator approval before execution.
Instructions
Change a DNS record: its content, name, TTL, proxied, MX priority or comment (not its type). current_name must be the record's name now; it is checked first. Proposal: an administrator approves it before it runs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"zone_id": "<zone_id>",
"zone_name": "<zone_name>",
"record_id": "<record_id>",
"current_name": "<current_name>"
},
"name": "cloudflare_update_dns_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | TTL in seconds: 1 = automatic (default), or 60 to 86400. | |
| name | No | New name, if it changes. | |
| comment | No | New note on the record (Cloudflare record comment); "" removes the existing one. | |
| content | No | Record content: an IPv4 (A) or IPv6 (AAAA) address, a host name (CNAME, MX, NS), or TXT text without surrounding quotes. | |
| proxied | No | Proxy through Cloudflare (orange cloud). A, AAAA and CNAME only; default false (DNS only). | |
| zone_id | Yes | The zone ID (32 hex characters, from cloudflare_get_zone or cloudflare_list_zones). | |
| priority | No | MX priority (required for MX). | |
| record_id | Yes | The DNS record ID (from cloudflare_list_dns_records). | |
| zone_name | Yes | The zone name (example.com.au). Checked against zone_id before anything is changed, so the approver sees which domain this is. | |
| current_name | Yes | The record's name now ("@", "www" or the full name). If it does not match, nothing is changed. |