dns_add_record
Add DNS records to zones with automatic zone creation for primary zones. Supports A, AAAA, CNAME, MX, NS, PTR, SOA, SRV, TXT, CAA records.
Instructions
Add a DNS record to a zone. Creates the zone automatically if it doesn't exist for Primary type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | TTL in seconds (default: 3600) | |
| type | Yes | Record type | |
| zone | Yes | Zone domain name | |
| value | Yes | Record value (IP for A/AAAA, hostname for CNAME/MX/NS, text for TXT) | |
| domain | Yes | Full domain name for the record | |
| priority | No | Priority for MX records | |
| overwrite | No | Overwrite existing records of the same type (default: false) |