Set Domain Nameservers
set_domain_nameserversChange the nameservers of a domain at the registrar (domain owner only). mode managed = back to the ZapX nameservers; mode external = own nameservers (2-13 distinct hostnames that resolve). Switching to external nameservers means the DNS records at ZapX no longer answer for the domain. Requires confirm=true. Requires an active ZapX Pass (see server instructions).
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": {
"domainId": "<domainId>",
"mode": "<mode>"
},
"name": "set_domain_nameservers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | managed = ZapX nameservers (DNS records editable here), external = own nameservers. | |
| confirm | No | Must be true to apply the change. | |
| domainId | Yes | Domain id (from list_domains or list_account_services). | |
| nameservers | No | External nameserver hostnames (mode external only, 2-13 distinct). |