set_domain_dns
Replace all DNS host records for an owned domain by providing the domain ID and a full set of records (up to 100) with hostname, type, and address.
Instructions
Replace an owned domain's DNS host records (registrar-dependent — returns a not-implemented error when the registrar exposes no DNS API). Requires scope domains:write. Plain write — not gated. id comes from list_domains. records is the full replacement set (up to 100); each record needs hostname (e.g. '@', 'www', 'mail'), type (A/AAAA/CNAME/MX/TXT/NS/SRV/CAA), and address (the record value/target); priority is used for MX/SRV records.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Domain id from list_domains. | |
| records | Yes | Full replacement set of DNS host records. |