v1

latestOpenAPI 3.0.42026-07-26263457588.1 KB
DNS Zone

Add DNS Record

put/dnszone/{zoneId}/records

Path parameters

zoneIdinteger required

The DNS Zone ID to which the record will be added.

Request body

Type0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15

0 = A 1 = AAAA 2 = CNAME 3 = TXT 4 = MX 5 = Redirect 6 = Flatten 7 = PullZone 8 = SRV 9 = CAA 10 = PTR 11 = Script 12 = NS 13 = SVCB 14 = HTTPS 15 = TLSA

Ttlinteger nullable
Valuestring nullable
Namestring nullable
Weightinteger nullable
Priorityinteger nullable
Flagsinteger nullable
Tagstring nullable
Portinteger nullable
PullZoneIdinteger nullable
ScriptIdinteger nullable
Acceleratedboolean nullable
MonitorType0 | 1 | 2 | 3

0 = None 1 = Ping 2 = Http 3 = Monitor

GeolocationLatitudenumber double nullable
GeolocationLongitudenumber double nullable
LatencyZonestring nullable
SmartRoutingType0 | 1 | 2

0 = None 1 = Latency 2 = Geolocation

Disabledboolean nullable
Commentstring nullable
AutoSslIssuanceboolean nullable

Response

The DNS record was successfuly added.

Idinteger
Type0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15

0 = A 1 = AAAA 2 = CNAME 3 = TXT 4 = MX 5 = Redirect 6 = Flatten 7 = PullZone 8 = SRV 9 = CAA 10 = PTR 11 = Script 12 = NS 13 = SVCB 14 = HTTPS 15 = TLSA

Ttlinteger
Valuestring nullable
Namestring nullable
Weightinteger
Priorityinteger
Portinteger
Flagsinteger
Tagstring nullable
Acceleratedboolean
AcceleratedPullZoneIdinteger
LinkNamestring nullable
MonitorStatus0 | 1 | 2

0 = Unknown 1 = Online 2 = Offline

MonitorType0 | 1 | 2 | 3

0 = None 1 = Ping 2 = Http 3 = Monitor

GeolocationLatitudenumber double
GeolocationLongitudenumber double
LatencyZonestring nullable
SmartRoutingType0 | 1 | 2

0 = None 1 = Latency 2 = Geolocation

Disabledboolean
Commentstring nullable
AutoSslIssuanceboolean
AccelerationStatus0 | 1 | 2 | 3 | 4

0 = None 1 = Pending 2 = Processing 3 = Completed 4 = Failed