create_dns_record
Create a new DNS record for a domain by specifying type, name, and content. Resolve zones first to obtain the correct zone_id, then add records with optional TTL, proxying, and priority.
Instructions
Create a new DNS record. Call list_zones first to resolve a domain name to a zone_id if needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | Time to live (TTL) in seconds (default: 1 for auto) | |
| name | Yes | DNS record name | |
| type | Yes | DNS record type | |
| content | Yes | DNS record content | |
| proxied | No | Whether the record should be proxied through Cloudflare | |
| zone_id | No | Cloudflare zone ID. Omit to use CLOUDFLARE_ZONE_ID env var. | |
| priority | No | Priority (for MX records) |