---
title: "Lists the nameservers of all primary domains."
method: GET
path: "/domains/primary/nameservers"
tags: ["domains - primary"]
---

# Lists the nameservers of all primary domains.

`GET /domains/primary/nameservers`

## Request

- Base URL: `https://manager.digicertdns.com/v1`
- URL: `https://manager.digicertdns.com/v1/domains/primary/nameservers`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/digicert/apis/digicert-dns/docs/domains/primary/nameservers/get.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint lists the nameservers of all primary domains, helping users manage their domains' DNS configuration.</br></br>Key features include:</br></br>- **Clear success messaging:** Returns a `200` success code with a confirmation message indicating the successful completion of the requested action.</br>- **Comprehensive data retrieval:** Returns a comprehensive list of all primary domain nameservers, providing a complete and accurate overview for seamless management and analysis.

## Response `200`

Nameservers returned successfully.

- SecondaryAxfrIps[]
  - SecondaryAxfrIpsInner[]
    - `id` integer
    - `ipv6` string
    - `ipv4` string
    - `fqdn` string
    - `isNotify` boolean

## Other responses

- `404`: Nameservers not found.

---

[API](https://skmtc.dev/digicert/apis/digicert-dns.md) - [All operations](https://skmtc.dev/digicert/apis/digicert-dns/llms.txt) - [OpenAPI document](https://skmtc.dev/digicert/apis/digicert-dns/revisions/c74fc728cff8?raw)
