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
| Parameter | Type | Description |
|---|---|---|
| service_id | int | Service ID |
| zone_id | int | Zone ID |
| name | string | Record name |
| ttl | int | Record ttl |
| priority | int | Priority of the record |
| type | string | Record type |
| content | string | Contents 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"
]
}