Set domain nameservers
set_domain_nameserversQueues an asynchronous nameserver delegation change for an owned domain to new public hostnames, including required DNSSEC transition steps.
Instructions
Queue an asynchronous registrar nameserver change for an owned domain. When applied, the parent zone delegates the domain to the new public nameservers, replacing the prior delegation. Nameservers must be hostnames, not IP addresses; same-domain nameserver IP records are managed separately. This does not manage DNS records or PTR. Follow returned dnssec_transition steps until done; preserve parentDsUnreadable or parentDsRemovalRequired refusals and do not bypass an active transition with manual DS edits. Requires domains:manage when using an API key.
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_id": "<domain_id>",
"nameservers": "<nameservers>"
},
"name": "set_domain_nameservers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain_id | Yes | Owned domain ID from list_domains | |
| nameservers | Yes | 2-13 nameserver hostnames, e.g. ns1.vpsnet.com, ns2.vpsnet.com. IP addresses are not accepted. | |
| idempotencyKey | No | Optional idempotency key for the queued domain action |