Skip to main content
PATCH
Update or retry a DNS server

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Identifies the resource.

Example:

"6a09cdc3-8948-47f0-aa62-74ac943d6c58"

Body

application/json

Each field is optional. Each supplied list replaces the stored list. An empty object retries deployment with the stored configuration.

name
string

A name for the DNS server. The name cannot contain only whitespace.

Required string length: 1 - 128
Example:

"dns-ashburn"

zones
string[]

Additional zones besides private.telnyxcompute.com, which every server serves. Names are lowercased without a trailing dot. Zones cannot repeat, nest, or overlap the built-in zone or a forward zone. Zones and forward zones together can contain at most 19 names.

Maximum array length: 19
Maximum string length: 248
Example:
forwarders
string<ipv4>[]

Up to three IPv4 resolvers reachable through the Network for names outside the served and forwarded zones. An omitted or empty list uses public upstream resolvers instead. Loopback, unspecified, multicast, link-local, and DNS server addresses in 172.27.240.0/21 are not allowed.

Maximum array length: 3
Example:
forward_zones
object[]

Zones whose queries go to resolvers on the Network. These zones cannot overlap each other, served zones, or private.telnyxcompute.com. Zones and forward zones together can contain at most 19 names. Forward-zone resolvers must accept DNS over TCP port 53.

Maximum array length: 19
Example:

Response

The DNS server. Deployment and removal complete asynchronously.

data
DnsServer · object