Retrieve DNS domain record details

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

Path parameters

Responses

  • 200 application/json

    200

    Hide response attributes Show response attributes object
    • id string(uuid)

      DNS domain record ID

    • priority integer(int64)

      DNS domain record priority

      Minimum value is 0.

    • content string

      DNS domain record content

    • type string

      DNS domain record type

      Values are NS, CAA, NAPTR, POOL, A, HINFO, CNAME, SOA, SSHFP, SRV, AAAA, MX, TXT, ALIAS, URL, or SPF.

    • ttl integer(int64)

      DNS domain record TTL

      Minimum value is 0.

    • name string

      DNS domain record name

    • created-at string(date-time)

      DNS domain record creation date

    • updated-at string(date-time)

      DNS domain record update date

GET /dns-domain/{domain-id}/record/{record-id}
curl \
 -X GET https://api-ch-gva-2.exoscale.com/v2/dns-domain/{domain-id}/record/{record-id}
Response examples (200)
{
  "id": "string",
  "priority": 42,
  "content": "string",
  "type": "NS",
  "ttl": 42,
  "name": "string",
  "created-at": "2024-05-04T09:42:00+00:00",
  "updated-at": "2024-05-04T09:42:00+00:00"
}