List DNS domain records

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

Path parameters

Responses

  • 200 application/json

    200

    Hide response attribute Show response attribute object
    • dns-domain-records array[object]
      Hide dns-domain-records attributes Show dns-domain-records 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
curl \
 -X GET https://api-ch-gva-2.exoscale.com/v2/dns-domain/{domain-id}/record
Response examples (200)
{
  "dns-domain-records": [
    {
      "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"
    }
  ]
}