---
title: "List DNS records"
method: GET
path: "/domains/{domain}/dns"
---

# List DNS records

`GET /domains/{domain}/dns`

## Request

- Base URL: `https://namemy.app/api/v1`
- URL: `https://namemy.app/api/v1/domains/{domain}/dns`
- Auth: HTTP bearer

Return all DNS records currently set for this domain.

## Response `200`

DNS records

- object
  - `domain` string
  - `records` DnsRecord[]
    - `id` string
    - `type` 'A' | 'AAAA' | 'CNAME' | 'MX' | 'TXT' | 'NS' | 'SRV' | 'CAA'
    - `host` string
    - `value` string
    - `ttl` integer
    - `priority` integer, nullable

## Other responses

- `401`: Missing or invalid API key
- `404`: Resource not found
- `429`: Rate limit or daily quota exceeded

---

[API](https://skmtc.dev/namemy/apis/namemy-app-api.md) · [All operations](https://skmtc.dev/namemy/apis/namemy-app-api/llms.txt) · [OpenAPI document](https://skmtc.dev/namemy/apis/namemy-app-api/revisions/1c302ede4b63?raw)
