Record

DNS zone records management.

Read more

create-dns-domain-record

Create DNS domain record

POST /dns-domain/{domain-id}/record

Path parameters

NameInDescription
domain-idpath

Request body

Content-Type: application/json

PropertyTypeRequiredDescription
contentstringyesDNS domain record content
namestringyesDNS domain record name
typestringyesDNS domain record type

Allowed values: NS, CAA, NAPTR, POOL, A, HINFO, CNAME, SSHFP, SRV, AAAA, MX, TXT, ALIAS, URL.
priorityintegernoDNS domain record priority
ttlintegernoDNS domain record TTL
Example
{
  "content": "string",
  "name": "string",
  "priority": 0,
  "ttl": 0,
  "type": "NS"
}

Responses

Status: 200 - 200

Content-Type: application/json

PropertyTypeDescription
idstringOperation ID
messagestringOperation message
reasonstringOperation failure reason

Allowed values: incorrect, unknown, unavailable, forbidden, busy, fault, partial, not-found, interrupted, unsupported, conflict.
referenceobjectRelated resource reference schema details
statestringOperation 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

NameInDescription
domain-idpath
record-idpath

Responses

Status: 200 - 200

Content-Type: application/json

PropertyTypeDescription
contentstringDNS domain record content
created-atstringDNS domain record creation date
idstringDNS domain record ID
namestringDNS domain record name
priorityintegerDNS domain record priority
system-recordbooleanDNS domain record system status
ttlintegerDNS domain record TTL
typestringDNS domain record type

Allowed values: NS, CAA, NAPTR, POOL, A, HINFO, CNAME, SOA, SSHFP, SRV, AAAA, MX, TXT, ALIAS, URL, SPF.
updated-atstringDNS 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

NameInDescription
domain-idpath
record-idpath

Request body

Content-Type: application/json

PropertyTypeRequiredDescription
contentstringnoDNS domain record content
namestringnoDNS domain record name
priorityintegernoDNS domain record priority
ttlintegernoDNS domain record TTL
Example
{
  "content": "string",
  "name": "string",
  "priority": 0,
  "ttl": 0
}

Responses

Status: 200 - 200

Content-Type: application/json

PropertyTypeDescription
idstringOperation ID
messagestringOperation message
reasonstringOperation failure reason

Allowed values: incorrect, unknown, unavailable, forbidden, busy, fault, partial, not-found, interrupted, unsupported, conflict.
referenceobjectRelated resource reference schema details
statestringOperation 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

NameInDescription
domain-idpath
record-idpath

Responses

Status: 200 - 200

Content-Type: application/json

PropertyTypeDescription
idstringOperation ID
messagestringOperation message
reasonstringOperation failure reason

Allowed values: incorrect, unknown, unavailable, forbidden, busy, fault, partial, not-found, interrupted, unsupported, conflict.
referenceobjectRelated resource reference schema details
statestringOperation 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}/record

Path parameters

NameInDescription
domain-idpath

Responses

Status: 200 - 200

Content-Type: application/json

PropertyTypeDescription
dns-domain-recordsarray[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

Last updated on