---
title: "List a gateway's domains"
method: GET
path: "/gateway/{gateway_topic}/dns-records"
tags: ["DNS Records"]
---

# List a gateway's domains

`GET /gateway/{gateway_topic}/dns-records`

## Request

- Base URL: `https://api.quiva.ai`
- URL: `https://api.quiva.ai/gateway/{gateway_topic}/dns-records`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-4/docs/gateway/:gateway_topic/dns-records/get.ts> (a function with typed inputs; its response is checked against the schema)

Lists the DNS records that point at the gateway.

## Path parameters

- `gateway_topic` string, required

## Response `200`

Success

- object
  - `body` object
    - `results` object[]
      - `subject` string: Record subject
      - `domain_name` string: Zone domain
      - `type` string: A, CNAME, MX, TXT and so on
      - `name` string: Record name; `@` is the zone apex
      - `value` string: Record value
      - `priority` integer: MX priority
      - `ttl` integer: Time to live in seconds

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `404`: Gateway not found

## Changes

- **2026-11-12** `4915bc3902b1`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-4/changes/gateway/:gateway_topic/dns-records/get.md)

---

[API](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-4.md) - [All operations](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-4/llms.txt) - [OpenAPI document](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-4/revisions/4915bc3902b1?raw)
