Skip to content
Start here

Account Custom Nameservers

List Account Custom Nameservers
custom_nameservers.get(CustomNameserverGetParams**kwargs) -> SyncSinglePage[CustomNameserver]
GET/accounts/{account_id}/custom_ns
Add Account Custom Nameserver
custom_nameservers.create(CustomNameserverCreateParams**kwargs) -> CustomNameserver
POST/accounts/{account_id}/custom_ns
Delete Account Custom Nameserver
custom_nameservers.delete(strcustom_ns_id, CustomNameserverDeleteParams**kwargs) -> SyncSinglePage[CustomNameserverDeleteResponse]
DELETE/accounts/{account_id}/custom_ns/{custom_ns_id}
ModelsExpand Collapse
class CustomNameserver:

A single account custom nameserver.

dns_records: List[DNSRecord]

A and AAAA records associated with the nameserver.

type: Optional[Literal["A", "AAAA"]]

DNS record type.

One of the following:
"A"
"AAAA"
value: Optional[str]

DNS record contents (an IPv4 or IPv6 address).

ns_name: str

The FQDN of the name server.

formathostname
Deprecatedstatus: Literal["moved", "pending", "verified"]

Verification status of the nameserver.

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

Identifier.

maxLength32
ns_set: Optional[float]

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

maximum5
minimum1
str

Unused