---
title: "List DNS domain records"
method: GET
path: "/dns-domain/{domain-id}/record"
tags: ["record"]
---

# List DNS domain records

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

## Request

- Base URL: `https://api-ch-gva-2.exoscale.com/v2`
- URL: `https://api-ch-gva-2.exoscale.com/v2/dns-domain/{domain-id}/record`
- Auth: none declared
- TypeScript: <https://skmtc.dev/exoscale/apis/exoscale-api/docs/dns-domain/:domain-id/record/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `domain-id` string, uuid, required

## Response `200`

200

- object
  - `dns-domain-records` DnsDomainRecord[]
    - `updated-at` string, date-time: DNS domain record update date
    - `content` string: DNS domain record content
    - `name` string: DNS domain record name
    - `type` 'NS' | 'CAA' | 'NAPTR' | 'POOL' | 'A' | 'HINFO' | 'CNAME' | 'SOA' | 'SSHFP' | 'SRV' | 'AAAA' | 'MX' | 'TXT' | 'ALIAS' | 'URL' | 'SPF': DNS domain record type
    - `ttl` integer: DNS domain record TTL
    - `priority` integer: DNS domain record priority
    - `id` string, uuid: DNS domain record ID
    - `created-at` string, date-time: DNS domain record creation date
    - `system-record` boolean: DNS domain record system status

---

[API](https://skmtc.dev/exoscale/apis/exoscale-api.md) - [All operations](https://skmtc.dev/exoscale/apis/exoscale-api/llms.txt) - [OpenAPI document](https://skmtc.dev/exoscale/apis/exoscale-api/revisions/63da6f74c845?raw)
