create_dns_record
Create a new DNS record in a Cloudflare zone by specifying type, name, content, TTL, and proxy settings to route or verify domain traffic.
Instructions
Create a new DNS record
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>",
"type": "<type>",
"name": "<name>",
"content": "<content>"
},
"name": "create_dns_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | TTL in seconds (1 = automatic, min: 60, max: 86400) | |
| name | Yes | DNS record name (e.g., 'www' or '@' for root) | |
| type | Yes | DNS record type | |
| content | Yes | DNS record content (e.g., IP address for A record) | |
| proxied | No | Whether to proxy through Cloudflare (orange cloud) | |
| zone_id | Yes | The zone ID | |
| priority | No | Priority (required for MX and SRV records) |