Update DNS record
update_dns_recordModify an existing forward DNS record by ID to change its value, TTL, or comment; updated values publish to the DNS answer.
Instructions
Update an existing forward DNS record by its ID (PUT), replacing its desired value, TTL or comment. A changed value can replace the public DNS answer after publication. System-managed records cannot be edited. Requires dns:write when using an API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | TTL in seconds, allowed range 60-604800. Defaults to 120. | |
| name | Yes | Record name. Use @ for apex, or a relative name inside the zone. | |
| type | Yes | DNS record type. PTR is intentionally not supported here. | |
| comment | No | Optional note about this record, max 255 chars. | |
| content | Yes | DNS record value for the selected type | |
| zone_id | Yes | DNS zone ID | |
| record_id | Yes | DNS record ID to update |