---
title: "Lists the delegated nameservers of a specific secondary domain."
method: GET
path: "/domains/secondary/{domainId}/delegatednameservers"
tags: ["domains - secondary"]
---

# Lists the delegated nameservers of a specific secondary domain.

`GET /domains/secondary/{domainId}/delegatednameservers`

## Request

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

This endpoint lists the delegated nameservers of a specific secondary domain and gives users details on managing the domain.</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>- **Targeted data retrieval:** Employs the `domainId` parameter to return the specified domain's delegated nameservers, ensuring accuracy and relevance in the response.

## Path parameters

- `domainId` integer, required

## Response `200`

Delegated nameservers returned successfully.

- SecondaryDelegatedNameserversInner[]
  - `id` string
  - `nameservers` object[]
    - `hostname` string
    - `delegations` string
    - `status` 'success'
    - `ip` string[]
    - `sao` SOA
      - `name` string
      - `comp` string
      - `ttl` integer
      - `serial` string
      - `refresh` string
      - `retry` string
      - `expire` string
      - `minimum` string

## Other responses

- `404`: Delegated 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)
