domains - primary

Lists the nameservers of a specific primary domain.

This endpoint lists the nameservers of a specific primary domain, allowing users to verify DNS configurations and ensure proper domain resolution.</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 nameservers, ensuring accuracy and relevance in the response.

get/domains/primary/{domainId}/nameservers

Request

Path parameters

domainIdinteger required
Example:123

Filters data by the domain's unique identifier.

Response

Nameservers returned successfully.

idinteger
isSystemboolean
isSecondaryboolean nullable
fqdnstring hostname
ipv4string ipv4 nullable
ipv6string ipv6 nullable
vanityNameserverFQDNstring hostname nullable
createdTsstring date-time
modifiedTsstring date-time

Example response

[
  {
    "id": 32,
    "fqdn": "digicert.ns1.com",
    "ipv4": "156.154.65.222",
    "ipv6": "2610:a1:1014::102",
    "vanityNameserverFQDN": "ns1.custom.com",
    "createdTs": "2025-07-28T10:07:29.708871187Z",
    "modifiedTs": "2025-07-28T10:07:29.708871423Z"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.