create_dns_record
Create a DNS record (A, AAAA, CNAME, TXT, MX, and more) in Cloudflare. Requires explicit confirmation to execute; provides a preview otherwise.
Instructions
Create a DNS record (A, AAAA, CNAME, TXT, MX, etc). Requires confirm:true (human-approval gate); without it returns a preview only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone_id | Yes | The Cloudflare zone ID (32-char hex). Get it from list_zones. | |
| type | Yes | DNS record type. | |
| name | Yes | Record name (e.g. www.example.com or @ for root). | |
| content | Yes | Record value (IP, target host, text, etc). | |
| ttl | No | TTL in seconds. 1 = automatic. Default 1. | |
| proxied | No | Whether traffic is proxied through Cloudflare (A/AAAA/CNAME only). | |
| priority | No | Priority for MX/SRV records. | |
| comment | No | Optional comment for the record. | |
| confirm | No | Human-approval gate: must be true to actually perform this mutating operation. Omit or set false to get a non-executing preview of what would happen (with secrets redacted). A human should approve before this is set to true. |