Set domain DNS zone
setDomainDnsZoneChoose the zone of a connected DNS account that a domain is set up through, when several could answer for it. The zone has to cover the domain, be active and take a test record. Nothing is written yet: syncDomainDns writes the 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": {
"domain": "<domain>",
"connection": "<connection>",
"zone": "<zone>"
},
"name": "setDomainDnsZone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | The id of the zone, as getDomainDns lists the zones that could answer for the domain. | |
| domain | Yes | The domain, by its id or by its name (example.com). listDomains names every one. | |
| connection | Yes | The id of a DNS connection, as listDnsConnections names it. |