update_cloudflare_dns_record
Change what an existing DNS record points at. Only the fields you pass change: an omitted ttl, proxied, priority or comment keeps the record's current value, so a TTL change does not need you to restate the proxy setting. A record's name and type cannot be changed: delete it and create a new one instead. This rewrites live DNS in the customer's own account, so read the record with list_cloudflare_dns_records and confirm the new value with the user first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | Record TTL in seconds (60-86400), or 1 for Cloudflare's automatic TTL. Omit for automatic. A proxied record's TTL is managed by Cloudflare and must be left automatic. | |
| comment | No | Optional comment stored on the record. Defaults to 'Managed by Ankra'. | |
| content | Yes | The record's new value. | |
| proxied | No | Whether Cloudflare's proxy (the orange cloud) fronts the record. Only A, AAAA and CNAME records can be proxied. Proxying hides the origin address and terminates TLS at Cloudflare; leave false to resolve straight to the origin. | |
| priority | No | Priority (0-65535). Required for MX records; rejected for every other supported type. | |
| domain_id | Yes | Cloudflare zone id of the domain. Discover ids with list_cloudflare_domains. | |
| record_id | Yes | Cloudflare record id. Discover it with list_cloudflare_dns_records. | |
| credential_name | No | Which connected Cloudflare credential to use. Omit unless the organisation has several; with one connected credential Ankra resolves it automatically. |