cf_create_dns_record
Create a DNS record in a Cloudflare zone by providing zone ID, record type, name, and content. Supports A, AAAA, CNAME, MX, TXT, NS, SRV, and CAA records with optional TTL and proxy settings.
Instructions
Creates a new DNS record in a Cloudflare zone
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": {
"zoneId": "<zoneId>",
"type": "<type>",
"name": "<name>",
"content": "<content>"
},
"name": "cf_create_dns_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | ||
| name | Yes | Record name (e.g., @ for root, www for subdomain) | |
| type | Yes | Record type | |
| zoneId | Yes | Cloudflare Zone ID | |
| content | Yes | Record content (IP, hostname, or text) | |
| proxied | No | ||
| priority | No |