update_nameservers
Replace the nameservers for a domain with a specified list. This fully overwrites existing entries and requires 2 to 13 nameservers.
Instructions
Replace the nameservers for a domain in the authenticated account. This is a full replacement, not an append — the supplied list becomes the complete set of nameservers. Most TLDs require 2-13 entries. Setting custom nameservers disables Porkbun's free DNS hosting for the domain. Idempotent: applying the same NS list twice is a no-op.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain to update, e.g. `example.com` | |
| nameservers | Yes | Full list of nameservers (e.g. `['ns1.example.com', 'ns2.example.com']`). Minimum 2, maximum 13. |