combell_dns_records_update
Update an existing DNS record by changing only the fields you provide, preserving all others. Applies changes to live DNS; SRV service/protocol/port/target require delete and recreate.
Instructions
Update an existing DNS record. The current record is read first and only the fields you pass are changed, then the full record is written back. SRV service/protocol/port/target cannot be edited: delete and recreate instead. SIDE EFFECT: changes live DNS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | Time to live in seconds, 60-86400 (default 3600) | |
| port | No | SRV only: port of the service | |
| target | No | SRV only: canonical host name providing the service | |
| weight | No | SRV only: weight among records with the same priority (higher is more preferred) | |
| content | No | Record data: A = IPv4, AAAA = IPv6, CNAME/ALIAS = canonical name, MX = mail host FQDN, TXT = free text, CAA = '{flag} {tag} {ca}' (e.g. '0 issue letsencrypt.org'), TLSA = '{usage} {selector} {matching_type} {data}'. Not used for SRV. | |
| service | No | SRV only: symbolic service name, e.g. '_sip' | |
| priority | No | Priority for MX or SRV records (lower is more preferred) | |
| protocol | No | SRV only: protocol, e.g. 'TCP' or 'UDP' | |
| record_id | Yes | The record id to update | |
| domain_name | Yes | ||
| record_name | No | Host name / alias the record defines. Empty or '@' means the domain itself; 'www' means www.<domain>. Not used for SRV records; for TLSA use e.g. '_25._tcp'. |