Create DNS Record
infra.cloudflare.dns_createCreate a DNS record (A, AAAA, CNAME, MX, TXT) for a Cloudflare zone. Specify type, name, content, TTL, and proxy status. Returns new record ID.
Instructions
⚡ ACTION: Create a new DNS record (A, AAAA, CNAME, MX, TXT) for a Cloudflare zone. Set content (IP/hostname), TTL, and CDN proxy status. Returns new record ID (Cloudflare)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone_id | Yes | Cloudflare Zone ID | |
| type | Yes | DNS record type | |
| name | Yes | Record name — subdomain or "@" for root (e.g. "www", "api", "@") | |
| content | Yes | Record value — IP address for A/AAAA, hostname for CNAME, text for TXT | |
| ttl | No | TTL in seconds (1 = automatic, 60-86400 for manual) | |
| proxied | No | Enable Cloudflare CDN proxy (default false). True = orange cloud, hides origin IP | |
| priority | No | Priority for MX records (e.g. 10, 20) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. | |
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. |