DNS Zones

Create Dns Record

post/dns/zones/{zone_uuid}/records

Create a new DNS record.

Autorización

Authorization
Authorization*string

Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.

Parámetros de ruta

zone_uuid*string

Cuerpo de la petición

Create a new DNS record

application/jsonObligatorio
name*string

Record name (@ for apex, or subdomain)

Rangolength ≤ 255
record_type*DNSRecordType
Valores"A""AAAA""CNAME""MX""TXT""SRV""CAA""NS""SOA""PTR""ALIAS""SSHFP""TLSA"
content*string

Record content

ttl?integer

Time to live in seconds

Rango60 ≤ value ≤ 86400Por defecto60
priority?integer | null

Priority for MX/SRV

Rango0 ≤ value ≤ 65535
weight?integer | null

Weight for SRV

Rango0 ≤ value ≤ 65535
port?integer | null

Port for SRV

Rango1 ≤ value ≤ 65535
comment?string | null

Optional comment

Rangolength ≤ 255
region?string | null

GeoDNS region (e.g. us-east); 'global'/empty = served everywhere (Pro/Business)

Respuestas

Successful Response

application/json

uuid*string
name*string
record_type*DNSRecordType
Valores"A""AAAA""CNAME""MX""TXT""SRV""CAA""NS""SOA""PTR""ALIAS""SSHFP""TLSA"
content*string
ttl*integer
priority?integer | null
weight?integer | null
port?integer | null
comment?string | null
region?string | null
created_at*string
Formatodate-time
updated_at*string
Formatodate-time