---
title: "Returns the nameserver health status of a specific secondary domain."
method: GET
path: "/health/secondary/{domainId}/health/nameserver"
tags: ["health - secondary"]
---

# Returns the nameserver health status of a specific secondary domain.

`GET /health/secondary/{domainId}/health/nameserver`

## Request

- Base URL: `https://manager.digicertdns.com/v1`
- URL: `https://manager.digicertdns.com/v1/health/secondary/{domainId}/health/nameserver`
- Auth: HTTP bearer

This endpoint returns the nameserver health status of a specific secondary domain, allowing users to verify that nameserver performance and responsiveness are functioning as expected.</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 error handling:** Returns a `404` error code with a clear description when requests fail.</br> - **Targeted data retrieval:** Employs the `domainId` parameter to return the specified domain's nameserver health status, ensuring accuracy and relevance in the response.

## Path parameters

- `domainId` string, required

## Response `200`

Nameserver health status returned successfully.

- NameserverHealth
  - `nameservers` NameserverHealthNameservers[], required: List of nameservers and their SOA records.
    - `hostname` string, required: Hostname of the nameserver.
    - `type` string, required: Type of the nameserver.
    - `soa` NameserverHealthSoa, required
      - `serial` string, required: SOA serial number.
      - `expire` string, required: SOA expire value.
      - `refresh` string, required: SOA refresh value.
      - `retry` string, required: SOA retry value.

## Other responses

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