Change a Cloudflare DNS record
cf_dns_changeChange one DNS record of a Cloudflare zone, by record_id from cf_dns_list (or name plus type when they match one record): its content, TTL, proxy, priority or name. Records that were there before AskYourStack need the connection's "change anything" mode. cf_undo puts the old values back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | Seconds, or auto (default). | |
| data | No | SRV and CAA fields, as Cloudflare takes them. | |
| name | No | The record's name: shop, www, @ for the zone itself, or the full host. | |
| type | No | A, AAAA, CNAME, MX, TXT, SRV, CAA, NS, PTR. | |
| zone | No | The zone (domain) at Cloudflare, or any host inside it. Not needed when the user has one zone. | |
| comment | No | ||
| content | No | The address, target host or text. | |
| proxied | No | Through Cloudflare (orange cloud). Default false for a new record. | |
| new_name | No | For change: rename the record. | |
| priority | No | MX and SRV. | |
| record_id | No | For change and remove: the id from list (or name plus type when they match one record). |