---
title: "Get DNS records"
method: GET
path: "/api/dns/v1/zones/{domain}"
tags: ["DNS: Zone"]
---

# Get DNS records

`GET /api/dns/v1/zones/{domain}`

Retrieve DNS zone records for a specific domain.

Use this endpoint to view current DNS configuration for domain management.

## Path parameters

- `domain` string, required

## Response `200`

Success response

- DNSV1ZoneRecordResource[] — Array of [`DNS.V1.Zone.RecordResource`](#model/dnsv1zonerecordresource)
  - `name` string — Name of the record (use `@` for wildcard name)
  - `records` DNSV1ZoneNameRecordResource[] — Array of [`DNS.V1.Zone.NameRecordResource`](#model/dnsv1zonenamerecordresource)
    - `content` string — Content of the name record
    - `is_disabled` boolean — Flag to mark name record as disabled
  - `ttl` integer — TTL (Time-To-Live) of the record
  - `type` 'A' | 'AAAA' | 'CNAME' | 'ALIAS' | 'MX' | 'TXT' | 'NS' | 'SOA' | 'SRV' | 'CAA' — Type of the record

## Other responses

- `401` — Unauthenticated response
- `500` — Error response

---

[API](https://skmtc.net/hostinger/apis/hostinger-api.md) · [All operations](https://skmtc.net/hostinger/apis/hostinger-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hostinger/hostinger-api/versions/796bd5194565/schema)
