Get domain nameservers
get_nameserversRetrieve the nameservers currently assigned to a domain. Supports Namecheap, GoDaddy, and Route 53 providers, with optional provider override for uncategorized domains.
Instructions
Show the nameservers for a domain. On Route 53 this is the hosted zone's apex NS set, which is what you give the registrar. GoDaddy's v3 API cannot read nameservers back, only replace them. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| account | Yes | ||
| provider | Yes | ||
| environment | No | ||
| nameservers | Yes |