---
title: "List DNS records for a domain owned by the caller"
method: GET
path: "/api/client/dns-records"
tags: ["Client - DNS Records"]
---

# List DNS records for a domain owned by the caller

`GET /api/client/dns-records`

Filters by domain_id. The domain must belong to the caller's account (enforced server-side).

## Query parameters

- `domain_id` integer, required

## Response `200`

List of DNS records

- DNSRecord[]
  - `id` integer
  - `dnsable_id` integer — ID of the owning record (domain or hostname)
  - `dnsable_type` 'domain' | 'hostname'
  - `name` string — Record name (use '@' for the zone apex)
  - `type` 'A' | 'AAAA' | 'CNAME' | 'MX' | 'TXT' | 'PTR' | 'SRV' | 'NS' | 'SOA'
  - `content` string — Record content (IP, hostname, TXT value, etc.)
  - `ttl` integer
  - `priority` integer, nullable — Required for MX and SRV
  - `weight` integer, nullable — Required for SRV
  - `port` integer, nullable — Required for SRV
  - `is_manual` boolean
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `404` — Domain not found or not owned by this API key
- `422` — Validation error

---

[API](https://skmtc.dev/adminbolt/apis/adminbolt-api-documentation.md) · [All operations](https://skmtc.dev/adminbolt/apis/adminbolt-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/adminbolt/adminbolt-api-documentation/revisions/bf4f36fbfbd3/schema)
