Update DNS record
update_dns_recordModify an existing DNS record using its exact record ID. Check current state first to avoid conflicts before applying type, name, and value changes.
Instructions
[WRITE] Update an existing DNS record. Official: PUT /cdn/4.0/domains/{domain}/dns-records/{id}. Requires exact record_id. Read current state first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | ||
| name | Yes | ||
| type | Yes | ||
| cloud | No | ||
| usage | No | ||
| value | Yes | Type-specific value object/array as documented for the record type | |
| domain | Yes | ||
| selector | No | ||
| record_id | Yes | Exact DNS record id returned by list_dns_records / get_dns_record | |
| matching_type | No | ||
| ip_filter_mode | No | ||
| upstream_https | No |