---
title: "List all DNS records"
method: GET
path: "/domains/{domain}/dns"
tags: ["Domains"]
---

# List all DNS records

`GET /domains/{domain}/dns`

## Request

- Base URL: `https://api.imprezahost.com/v1`
- URL: `https://api.imprezahost.com/v1/domains/{domain}/dns`
- Auth: API key in header `X-API-Key` and API key in header `X-API-Secret`

## Path parameters

- `domain` string, required

## Response `200`

DNS records

- object
  - `success` boolean
  - `data` object
    - `records` DnsRecord[]
      - `type` 'A' | 'AAAA' | 'CNAME' | 'MX' | 'TXT' | 'NS' | 'SRV'
      - `host` string
      - `value` string
      - `ttl` integer
      - `priority` integer, nullable
  - `meta` Meta
    - `request_id` string
    - `timestamp` string, date-time

---

[API](https://skmtc.dev/imprezahost/apis/impreza-host-public-api.md) · [All operations](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/revisions/db86511f604f?raw)
