---
title: "Get nameservers"
method: GET
path: "/domains/{name}/dns/nameservers"
tags: ["dns-records"]
---

# Get nameservers

`GET /domains/{name}/dns/nameservers`

## Request

- Base URL: `https://api.unstoppabledomains.com/partner/v3`
- URL: `https://api.unstoppabledomains.com/partner/v3/domains/{name}/dns/nameservers`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/unstoppabledomains/apis/reseller-api/docs/domains/:name/dns/nameservers/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve the current nameserver configuration for the specified domain. Use `$expand=dnssec` to include DNSSEC details in the response.

## Path parameters

- `name` string, required

## Query parameters

- `$expand` string[]

## Response `200`

Current nameserver configuration

- DomainDnsNameServersResponse
  - `@type` 'unstoppabledomains.com/partner.v3.NameServerListResult', required
  - `items` string[], required
  - `dnssec` DomainDnsNameServersResponseDnssec, required
    - `enabled` boolean, required
    - `items` DomainDnsNameServersResponseDnssecItem[]
      - `keyTag` number, required
      - `algorithm` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 10 | 12 | 13 | 14 | 15 | 16 | 17 | 23 | 252 | 253 | 254, required: DNSSEC algorithm identifier (RFC 8624)
      - `digestType` 1 | 2 | 3 | 4 | 5 | 6, required: DNSSEC digest type identifier (RFC 8624)
      - `digest` string, required
    - `validation` object
      - `valid` boolean, required

## Other responses

- `400`: Invalid request
- `401`: Authentication required
- `403`: Insufficient permissions
- `404`: Resource not found
- `500`: Internal server error

## Changes

- **2026-02-27** `64f751be432d`: 5 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the non-success response with the status `404`
  - …1 more

[Operation history](https://skmtc.dev/unstoppabledomains/apis/reseller-api/changes/domains/:name/dns/nameservers/get.md)

---

[API](https://skmtc.dev/unstoppabledomains/apis/reseller-api.md) - [All operations](https://skmtc.dev/unstoppabledomains/apis/reseller-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unstoppabledomains/apis/reseller-api/revisions/e0ac88d02fe7?raw)
