GET
/api/dns/nameservers/{nsgroupId}Retrieve a nameserver group
Retrieves a nameserver group by its unique ID. Use this operation to inspect the group's nameservers, domain matches, and other configuration.
nsgroupIdstringrequired
The unique identifier of the nameserver group to retrieve.
200Returns a nameserver group object, including its identifier and configuration fields.
idstringrequired
Nameserver group ID
descriptionstringrequired
Description of the nameserver group
domainsarray<string>required
Match domain list. It should be empty only if primary is true.
enabledbooleanrequired
Nameserver group status
groupsarray<string>required
Distribution group IDs that defines group of peers that will use this nameserver group
namestringrequired
Name of nameserver group name
nameserversarray<object>required
Nameserver list
primarybooleanrequired
Defines if a nameserver group is primary that resolves all domains. It should be true only if domains list is empty.
search_domains_enabledbooleanrequired
Search domain status for match domains. It should be true only if domains list is not empty.
400Returned when the request is invalid.
401Returned when authentication is required but missing or invalid.
403Returned when the request is forbidden.
500Returned when an internal server error occurs.
Error handling
A 400 is returned when the request is invalid. A 401 is returned when authentication is missing or invalid. A 403 indicates insufficient permission, and a 500 indicates an internal server error. The nsgroupId path parameter must identify the nameserver group to retrieve.