Set custom nameservers
set_nameserversPoint a domain at custom nameservers or reset to default provider DNS. Custom mode applies your nameservers; default uses Namecheap BasicDNS, shifting DNS authority accordingly.
Instructions
Point a domain at nameservers. On Namecheap, mode=default resets it to Namecheap BasicDNS. IMPORTANT: moving nameservers moves DNS authority, so records held at the old provider stop taking effect. Route 53 cannot do this — a Route 53 zone's nameservers are set wherever the domain is registered.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | custom = your nameservers; default = the provider's own DNS. | |
| domain | Yes | ||
| provider | No | Force a provider instead of routing by domain. Needed when the domain does not exist yet (registration), and useful when a domain is at two providers and you mean a specific one. | |
| nameservers | No | Required for mode=custom. Two minimum; GoDaddy allows up to 13, Namecheap 12. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| domain | Yes | ||
| account | Yes | ||
| success | Yes | ||
| provider | Yes | ||
| environment | No |