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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"records": "<records>"
},
"name": "set_domain_dns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Domain id from list_domains. | |
| records | Yes | Full replacement set of DNS host records. |