Skip to content
Start here

Account Custom Nameservers

List Account Custom Nameservers
client.customNameservers.get(CustomNameserverGetParams { account_id } params, RequestOptionsoptions?): SinglePage<CustomNameserver { dns_records, ns_name, status, 2 more } >
GET/accounts/{account_id}/custom_ns
Add Account Custom Nameserver
client.customNameservers.create(CustomNameserverCreateParams { account_id, ns_name, ns_set } params, RequestOptionsoptions?): CustomNameserver { dns_records, ns_name, status, 2 more }
POST/accounts/{account_id}/custom_ns
Delete Account Custom Nameserver
client.customNameservers.delete(stringcustomNSId, CustomNameserverDeleteParams { account_id } params, RequestOptionsoptions?): SinglePage<CustomNameserverDeleteResponse>
DELETE/accounts/{account_id}/custom_ns/{custom_ns_id}
ModelsExpand Collapse
CustomNameserver { dns_records, ns_name, status, 2 more }

A single account custom nameserver.

dns_records: Array<DNSRecord>

A and AAAA records associated with the nameserver.

type?: "A" | "AAAA"

DNS record type.

One of the following:
"A"
"AAAA"
value?: string

DNS record contents (an IPv4 or IPv6 address).

ns_name: string

The FQDN of the name server.

formathostname
Deprecatedstatus: "moved" | "pending" | "verified"

Verification status of the nameserver.

One of the following:
"moved"
"pending"
"verified"
zone_tag: string

Identifier.

maxLength32
ns_set?: number

The number of the set that this name server belongs to.

maximum5
minimum1
CustomNameserverDeleteResponse = string

Unused