Skip to content
NimbusNexus

DNS zones

A DNS zone is an authoritative domain hosted on NimbusNexus nameservers. Create one with POST /api/v1/zones/, giving its name with the trailing dot (example.com.) and an administrator email; the zone belongs to the calling project. Then point your domain registrar at our nameservers, and add records to publish addresses, mail routing, and verification tokens for that domain.

Delegation

These are the nameservers to configure at your registrar:

Text
ns1.dns.nimbusnexus.net
ns2.dns.nimbusnexus.net
ns3.dns.nimbusnexus.net
ns4.dns.nimbusnexus.net

Set these as the NS records for your domain at your registrar (GoDaddy, Cloudflare Registrar, Porkbun, etc.). Once propagation completes (typically minutes to a few hours, depending on the registrar's TTLs), our nameservers become authoritative for the domain.

You can keep using your existing DNS provider in parallel during a migration — both providers' NS records can coexist for a short period if you set the registrar to use both sets, then drop the old set once you've moved every record.

Zone vs subdomain

One zone = one domain. example.com is one zone; api.example.com is a subdomain handled by an A or CNAME record inside the example.com zone, not a separate zone — unless you specifically want to delegate api.example.com to a different DNS provider, in which case you'd create both example.com (with NS records pointing at the other provider for the subdomain) and the subdomain zone separately.

For typical use, one zone per registered domain is the right shape.

What's next

Reference

GET/api/v1/zones/

Zones List

Lists DNS zones accessible to the calling project.

Parameters

NameInTypeDescription
namequerystring | null—
emailquerystring | null—
statusquerystring | null—
descriptionquerystring | null—
ttlqueryinteger | null—
limitqueryinteger | null—
markerquerystring | null—

Responses

  • 200Successful Response
  • 400Bad Request
  • 401Unauthorized
  • 403Forbidden
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/zones/" \
  -H "Authorization: Bearer $NIMBUS_KEY"
POST/api/v1/zones/

Zone Create

Creates a new DNS zone for the calling project.

Request body

FieldTypeDescription
admin_domainstring | null—
admin_projectstring | null—
name*stringZone FQDN, e.g. example.com.
email*stringDNS admin email
ttlinteger | nullDefault TTL for the zone
descriptionstring | null—
typeZoneType | nullPRIMARY or SECONDARY
mastersarray of string | nullMasters for SECONDARY zones
attributesobject | null—

Responses

  • 201Successful Response
  • 400Bad Request
  • 401Unauthorized
  • 403Forbidden
  • 409Conflict
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X POST "https://api.nimbusnexus.net/api/v1/zones/" \
  -H "Authorization: Bearer $NIMBUS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Example",
    "email": "[email protected]"
  }'
GET/api/v1/zones/artifacts

Get Zones Create Artifacts

Returns the DNS zone domain artifacts available for zone creation.

Responses

  • 200Successful Response
  • 401Unauthorized
  • 403Forbidden
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/zones/artifacts" \
  -H "Authorization: Bearer $NIMBUS_KEY"
GET/api/v1/zones/{zone_id}

Zone Retrieve

Retrieves a single DNS zone by its identifier.

Parameters

NameInTypeDescription
zone_id*pathstring—

Responses

  • 200Successful Response
  • 400Bad Request
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/zones/<zone_id>" \
  -H "Authorization: Bearer $NIMBUS_KEY"
PUT/api/v1/zones/{zone_id}

Zone Update

Updates the editable attributes of a DNS zone.

Parameters

NameInTypeDescription
zone_id*pathstring—

Request body

FieldTypeDescription
admin_domainstring | null—
admin_projectstring | null—
emailstring | null—
descriptionstring | null—
ttlinteger | null—

Responses

  • 200Successful Response
  • 400Bad Request
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 409Conflict
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X PUT "https://api.nimbusnexus.net/api/v1/zones/<zone_id>" \
  -H "Authorization: Bearer $NIMBUS_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
DELETE/api/v1/zones/{zone_id}

Zone Delete

Deletes a DNS zone, optionally removing its shares first.

Parameters

NameInTypeDescription
zone_id*pathstring—
delete_sharesquerybooleanDelete all zone shares before deleting the zone

Responses

  • 204Successful Response
  • 400Bad Request
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 409Conflict
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X DELETE "https://api.nimbusnexus.net/api/v1/zones/<zone_id>" \
  -H "Authorization: Bearer $NIMBUS_KEY"
GET/api/v1/zones/{zone_id}/shares/

Shared Zones List

Lists the projects a DNS zone is shared with.

Parameters

NameInTypeDescription
zone_id*pathstring—
admin_domainquerystring | null—
admin_projectquerystring | null—
target_project_idquerystring | null—
limitqueryinteger | null—
markerquerystring | null—

Responses

  • 200Successful Response
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/zones/<zone_id>/shares/" \
  -H "Authorization: Bearer $NIMBUS_KEY"
POST/api/v1/zones/{zone_id}/shares/

Shared Zones Create

Shares a DNS zone with another project.

Parameters

NameInTypeDescription
zone_id*pathstring—

Request body

FieldTypeDescription
target_project_id*stringTarget project UUID to share the zone with

Responses

  • 201Successful Response
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 409Conflict
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X POST "https://api.nimbusnexus.net/api/v1/zones/<zone_id>/shares/" \
  -H "Authorization: Bearer $NIMBUS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "target_project_id": "<target_project_id>"
  }'
GET/api/v1/zones/{zone_id}/shares/{shared_zone_id}

Shared Zone Retrieve

Retrieves details of a single DNS zone share.

Parameters

NameInTypeDescription
zone_id*pathstring—
shared_zone_id*pathstring—

Responses

  • 200Successful Response
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/zones/<zone_id>/shares/<shared_zone_id>" \
  -H "Authorization: Bearer $NIMBUS_KEY"
DELETE/api/v1/zones/{zone_id}/shares/{shared_zone_id}

Shared Zone Delete

Revokes a DNS zone share from a target project.

Parameters

NameInTypeDescription
zone_id*pathstring—
shared_zone_id*pathstring—

Responses

  • 204Successful Response
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X DELETE "https://api.nimbusnexus.net/api/v1/zones/<zone_id>/shares/<shared_zone_id>" \
  -H "Authorization: Bearer $NIMBUS_KEY"

Need to make a real call? Try these endpoints in the live Swagger UI →