Skip to main content

Add DNS Record

Creates a new record in the DNS zone

HTTP Request

POST /service/@service_id/dns/@zone_id/records

Auth: true

QUERY PARAMETERS

ParameterTypeDescription
service_idintService ID
zone_idintZone ID
namestringRecord name
ttlintRecord ttl
priorityintPriority of the record
typestringRecord type
contentstringContents of the record

Example Response


{
"record": {
"name": "_sip._tcp.example.com",
"type": "SRV",
"ttl": "3600",
"priority": "10",
"content": [
10,
5060,
"vc01.example.com"
]
},
"info": [
"dnsnewrecordadded",
"SRV"
]
}