---
title: "List nameservers for a domain"
method: POST
path: "/mcp/v1/actions/ud_dns_nameservers_list"
tags: ["DNS Management"]
---

# List nameservers for a domain

`POST /mcp/v1/actions/ud_dns_nameservers_list`

## Request

- Base URL: `https://api.unstoppabledomains.com`
- URL: `https://api.unstoppabledomains.com/mcp/v1/actions/ud_dns_nameservers_list`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/unstoppabledomains/apis/user-api/docs/mcp/v1/actions/ud_dns_nameservers_list/post.ts> (a function with typed inputs; its response is checked against the schema)

List current nameservers and check if using UD defaults or custom nameservers.

## Request body

- object
  - `domain` string, required: Domain name
  - `includeDnssec` boolean: Include DNSSEC info

## Response `200`

Nameservers list

- DnsNameserversListResponse
  - `domain` string
  - `nameservers` string[]: List of nameserver hostnames
  - `isUsingDefaultNameservers` boolean: True if using UD default nameservers
  - `dnssec` object, nullable
    - `enabled` boolean
    - `records` object[]
      - `keyTag` number
      - `algorithm` number
      - `digestType` number
      - `digest` string

## Other responses

- `401`: Authentication required

---

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