Skip to content
Start here

Tenant Custom Nameservers

List Tenant Custom Nameservers
tenant_custom_nameservers.get(strtenant_tag) -> SyncSinglePage[TenantCustomNameserverGetResponse]
GET/tenants/{tenant_tag}/custom_ns
Add Tenant Custom Nameserver
tenant_custom_nameservers.create(strtenant_tag, TenantCustomNameserverCreateParams**kwargs) -> TenantCustomNameserverCreateResponse
POST/tenants/{tenant_tag}/custom_ns
Delete Tenant Custom Nameserver
tenant_custom_nameservers.delete(strcustom_ns_id, TenantCustomNameserverDeleteParams**kwargs) -> SyncSinglePage[TenantCustomNameserverDeleteResponse]
DELETE/tenants/{tenant_tag}/custom_ns/{custom_ns_id}
ModelsExpand Collapse
class TenantCustomNameserverGetResponse:

A single tenant 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
class TenantCustomNameserverCreateResponse:

A single tenant 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