Record
DNS zone records management.
create-dns-domain-record
Create DNS domain record
POST /dns-domain/{domain-id}/recordPath parameters
| Name | In | Description |
|---|---|---|
domain-id | path |
Request body
Content-Type: application/json
| Property | Type | Required | Description |
|---|---|---|---|
content | string | yes | DNS domain record content |
name | string | yes | DNS domain record name |
type | string | yes | DNS domain record type Allowed values: NS, CAA, NAPTR, POOL, A, HINFO, CNAME, SSHFP, SRV, AAAA, MX, TXT, ALIAS, URL. |
priority | integer | no | DNS domain record priority |
ttl | integer | no | DNS domain record TTL |
Example
{
"content": "string",
"name": "string",
"priority": 0,
"ttl": 0,
"type": "NS"
}Responses
Status: 200 - 200
Content-Type: application/json
| Property | Type | Description |
|---|---|---|
id | string | Operation ID |
message | string | Operation message |
reason | string | Operation failure reason Allowed values: incorrect, unknown, unavailable, forbidden, busy, fault, partial, not-found, interrupted, unsupported, conflict. |
reference | object | Related resource reference schema details |
state | string | Operation status Allowed values: failure, pending, success, timeout. |
Example output
{
"id": "string",
"message": "string",
"reason": "incorrect",
"reference": {
"command": "string",
"id": "string",
"link": "string"
},
"state": "failure"
}SDK reference for create-dns-domain-record: golang | Python | Java
CLI: exo api create-dns-domain-record
get-dns-domain-record
Retrieve DNS domain record details
GET /dns-domain/{domain-id}/record/{record-id}Path parameters
| Name | In | Description |
|---|---|---|
domain-id | path | |
record-id | path |
Responses
Status: 200 - 200
Content-Type: application/json
| Property | Type | Description |
|---|---|---|
content | string | DNS domain record content |
created-at | string | DNS domain record creation date |
id | string | DNS domain record ID |
name | string | DNS domain record name |
priority | integer | DNS domain record priority |
system-record | boolean | DNS domain record system status |
ttl | integer | DNS domain record TTL |
type | string | DNS domain record type Allowed values: NS, CAA, NAPTR, POOL, A, HINFO, CNAME, SOA, SSHFP, SRV, AAAA, MX, TXT, ALIAS, URL, SPF. |
updated-at | string | DNS domain record update date |
Example output
{
"content": "string",
"created-at": "2024-01-01T12:00:00Z",
"id": "string",
"name": "string",
"priority": 0,
"system-record": true,
"ttl": 0,
"type": "NS",
"updated-at": "2024-01-01T12:00:00Z"
}SDK reference for get-dns-domain-record: golang | Python | Java
CLI: exo api get-dns-domain-record
update-dns-domain-record
Update DNS domain record
PUT /dns-domain/{domain-id}/record/{record-id}Path parameters
| Name | In | Description |
|---|---|---|
domain-id | path | |
record-id | path |
Request body
Content-Type: application/json
| Property | Type | Required | Description |
|---|---|---|---|
content | string | no | DNS domain record content |
name | string | no | DNS domain record name |
priority | integer | no | DNS domain record priority |
ttl | integer | no | DNS domain record TTL |
Example
{
"content": "string",
"name": "string",
"priority": 0,
"ttl": 0
}Responses
Status: 200 - 200
Content-Type: application/json
| Property | Type | Description |
|---|---|---|
id | string | Operation ID |
message | string | Operation message |
reason | string | Operation failure reason Allowed values: incorrect, unknown, unavailable, forbidden, busy, fault, partial, not-found, interrupted, unsupported, conflict. |
reference | object | Related resource reference schema details |
state | string | Operation status Allowed values: failure, pending, success, timeout. |
Example output
{
"id": "string",
"message": "string",
"reason": "incorrect",
"reference": {
"command": "string",
"id": "string",
"link": "string"
},
"state": "failure"
}SDK reference for update-dns-domain-record: golang | Python | Java
CLI: exo api update-dns-domain-record
delete-dns-domain-record
Delete DNS domain record
DELETE /dns-domain/{domain-id}/record/{record-id}Path parameters
| Name | In | Description |
|---|---|---|
domain-id | path | |
record-id | path |
Responses
Status: 200 - 200
Content-Type: application/json
| Property | Type | Description |
|---|---|---|
id | string | Operation ID |
message | string | Operation message |
reason | string | Operation failure reason Allowed values: incorrect, unknown, unavailable, forbidden, busy, fault, partial, not-found, interrupted, unsupported, conflict. |
reference | object | Related resource reference schema details |
state | string | Operation status Allowed values: failure, pending, success, timeout. |
Example output
{
"id": "string",
"message": "string",
"reason": "incorrect",
"reference": {
"command": "string",
"id": "string",
"link": "string"
},
"state": "failure"
}SDK reference for delete-dns-domain-record: golang | Python | Java
CLI: exo api delete-dns-domain-record
Other Operations
list-dns-domain-records
List DNS domain records
GET /dns-domain/{domain-id}/recordPath parameters
| Name | In | Description |
|---|---|---|
domain-id | path |
Responses
Status: 200 - 200
Content-Type: application/json
| Property | Type | Description |
|---|---|---|
dns-domain-records | array[object] | schema details |
Example output
{
"dns-domain-records": [
{
"content": "string",
"created-at": "2024-01-01T12:00:00Z",
"id": "string",
"name": "string",
"priority": 0,
"system-record": true,
"ttl": 0,
"type": "NS",
"updated-at": "2024-01-01T12:00:00Z"
}
]
}SDK reference for list-dns-domain-records: golang | Python | Java
CLI: exo api list-dns-domain-records