combell_dns_records_create
Add DNS records (A, AAAA, CNAME, MX, TXT, CAA, ALIAS, TLSA, SRV) to a domain with TTL and priority options. Updates live DNS immediately.
Instructions
Create a DNS record on a domain. For A/AAAA/CNAME/MX/TXT/CAA/ALIAS/TLSA pass record_name + content (+ priority for MX); for SRV pass service, protocol, priority, weight, port and target. 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 | |
| type | Yes | Record type | |
| 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' | |
| 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'. |