nameserver set

Creates a new nameserver set.

This endpoint creates a new nameserver set, allowing the customization and deployment of tailored DNS configurations for unique domain requirements.</br></br>Key features include:</br></br>- Clear success messaging: Returns a 201 success code with a confirmation message indicating the successful completion of the requested action.</br>- Comprehensive error handling: Returns a 400 error code with a clear description when requests fail.</br>- Seamless nameserver set creation: Facilitates the creation of a nameserver set in-line with the appropriate schema, ensuring smooth and efficient organization.

post/nameserversets

Request

Request body

namestring required

The name of the nameserver set

isDefaultboolean

Whether this is the default nameserver set

resourceGroupsIdsinteger[] required

List of associated resource group IDs

Example request

{
  "name": "Example nameserver Set",
  "isDefault": true,
  "nameservers": [
    {
      "fqdn": "example.ns1.com"
    }
  ],
  "resourceGroupsIds": [
    1
  ]
}

Response

Nameserver set created successfully.

idinteger
namestring
isSystemboolean
isDefaultboolean
domainsobject[]
createdTsstring date-time
modifiedTsstring date-time

Example response

{
  "id": 8,
  "name": "Example nameserver Set",
  "isDefault": true,
  "nameservers": [
    {
      "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"
    }
  ],
  "domains": [
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "example": 1
        },
        "name": {
          "type": "string",
          "example": "example.com"
        }
      }
    }
  ],
  "resourceGroups": [
    {
      "id": 2,
      "name": "Default"
    }
  ],
  "createdTs": "2025-07-28T10:07:29.725434Z",
  "modifiedTs": "2025-07-28T10:07:29.725452Z"
}

Changes

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