dns_add_record
Add DNS records like A, CNAME, TXT, MX, or SRV to a zone for domain management and routing configuration.
Instructions
Add a DNS record to a zone
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dnsZoneId | Yes | DNS zone ID | |
| type | Yes | Record type (0=A, 1=AAAA, 2=CNAME, 3=TXT, 4=MX, 5=Redirect, 6=Flatten, 7=PullZone, 8=SRV, 9=CAA, 10=PTR, 11=Script, 12=NS) | |
| name | Yes | Record name (subdomain or @ for root) | |
| value | Yes | Record value | |
| ttl | No | TTL in seconds (default 300) | |
| priority | No | Priority (for MX/SRV) | |
| weight | No | Weight (for SRV) | |
| port | No | Port (for SRV) |