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

# Retrieve DNS domain record details

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

## 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/{record-id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/exoscale/apis/exoscale-api/docs/dns-domain/:domain-id/record/:record-id/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `domain-id` string, uuid, required
- `record-id` string, uuid, required

## Response `200`

200

- DnsDomainRecord: DNS domain record
  - `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

## Changes

- **2026-03-16** `e05707a7b346`: 2 info
  - api tag `record` added
  - api tag `dns` removed
- **2025-05-22** `37a05010e8b4`: 1 info
  - added the optional property `system-record` to the response with the `200` status
- **2023-12-08** `ec6a2a6bc1c1`: 5 info
  - removed the `CDNSKEY` enum value from the `type` response property for the response status `200`
  - removed the `CDS` enum value from the `type` response property for the response status `200`
  - removed the `DNSKEY` enum value from the `type` response property for the response status `200`
  - removed the `DS` enum value from the `type` response property for the response status `200`
  - …1 more
- **2023-02-03** `6e9809fd1444`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/exoscale/apis/exoscale-api/changes/dns-domain/:domain-id/record/:record-id/get.md)

---

[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)
