Skip to content
NimbusNexus

DNS records

A record set is one (name, type) tuple inside a zone, holding one or more values. www.example.com → A → 203.0.113.5 is a single-value A record set; multi-value sets (round-robin DNS) hold N values under one set id.

Supported record types

TypePurposeExample value
AIPv4 address203.0.113.5
AAAAIPv6 address2001:db8::1
CNAMEAlias to another nameother.example.com.
MXMail exchanger10 mail.example.com.
TXTFree text — verification, SPF, DKIM, DMARC"v=spf1 -all"
SPFSPF policy, in its own record type"v=spf1 -all"
SRVService location10 5 5060 sip.example.com.
NSDelegation to other nameserversns1.other.com.
CAACert-authority authorization0 issue "letsencrypt.org"
SSHFPSSH host key fingerprint4 2 <sha256-fingerprint>
NAPTRRewrite rule for a service lookup100 10 "U" "E2U+sip" "!^.*$!sip:[email protected]!" .
PTRReverse-DNS pointerSee reverse DNS

We don't support: ALIAS / ANAME (CNAME-flattening at the apex) — use the CNAME at a subdomain instead, or an A record pointing at a floating IP at the apex.

Multi-value records

You can put multiple values in one record set:

Text
www.example.com → A → 203.0.113.5
                  → 203.0.113.6
                  → 203.0.113.7

The nameservers serve all three values per query, and resolvers spread requests across them — basic round-robin load balancing without an LB. For real load balancing you'd point the record at a load balancer VIP instead; multi-value is for cases where the client + resolver can handle failover on their own (most modern HTTP clients can).

TTLs

Each record set has a TTL in seconds — how long resolvers cache the answer before re-querying. Set ttl when you create or update a record set. Without one, the record set uses its zone's TTL, which is 3600 (1 hour) unless you set another on the zone.

Pick lower TTLs while you're actively iterating; bump them up once the records stabilize, to reduce query volume.

What's next

Reference

GET/api/v1/recordsets/

List All Recordsets

Lists all DNS recordsets owned by the calling project across zones.

Parameters

NameInTypeDescription
limitqueryinteger | null—
markerquerystring | null—
sort_dirquerystring | null—
sort_keyquerystring | null—
namequerystring | null—
typequery"A" | "AAAA" | "MX" | "CNAME" | "TXT" | "NS" | "SOA" | "SPF" | "SRV" | "PTR" | "CAA" | "SSHFP" | "NAPTR" | null—
ttlqueryinteger | null—
statusquerystring | null—
descriptionquerystring | null—
dataquerystring | null—

Responses

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

Example

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

List Zone Recordsets

Lists the recordsets contained in the specified DNS zone.

Parameters

NameInTypeDescription
zone_id*pathstringParent zone ID
limitqueryinteger | null—
markerquerystring | null—
sort_dirquerystring | null—
sort_keyquerystring | null—
namequerystring | null—
typequery"A" | "AAAA" | "MX" | "CNAME" | "TXT" | "NS" | "SOA" | "SPF" | "SRV" | "PTR" | "CAA" | "SSHFP" | "NAPTR" | null—
ttlqueryinteger | null—
statusquerystring | null—
descriptionquerystring | 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>/recordsets/" \
  -H "Authorization: Bearer $NIMBUS_KEY"
POST/api/v1/zones/{zone_id}/recordsets/

Create Recordset

Creates a new recordset within the specified DNS zone.

Parameters

NameInTypeDescription
zone_id*pathstringParent zone ID

Request body

FieldTypeDescription
name*stringRecordSet name (relative or FQDN)
type*"A" | "AAAA" | "MX" | "CNAME" | "TXT" | "NS" | "SOA" | "SPF" | "SRV" | "PTR" | "CAA" | "SSHFP" | "NAPTR"—
records*array of stringList of RR data strings
ttlinteger | nullTTL for the recordset
descriptionstring | nullHuman-readable description

Responses

  • 201Successful Response
  • 400Bad Request
  • 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>/recordsets/" \
  -H "Authorization: Bearer $NIMBUS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Example",
    "type": "A",
    "records": [
      "example"
    ]
  }'
GET/api/v1/zones/{zone_id}/recordsets/{recordset_id}

Get Recordset

Retrieves a single recordset by zone and recordset identifiers.

Parameters

NameInTypeDescription
zone_id*pathstringParent zone ID
recordset_id*pathstringRecordset ID
admin_domainquerystring | null—
admin_projectquerystring | 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>/recordsets/<recordset_id>" \
  -H "Authorization: Bearer $NIMBUS_KEY"
PUT/api/v1/zones/{zone_id}/recordsets/{recordset_id}

Update Recordset

Updates the records or attributes of an existing recordset.

Parameters

NameInTypeDescription
recordset_id*pathstringRecordset ID
zone_id*pathstringParent zone ID

Request body

FieldTypeDescription
ttlinteger | null—
descriptionstring | null—
recordsarray of string | nullList of RR data strings

Responses

  • 202Successful 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>/recordsets/<recordset_id>" \
  -H "Authorization: Bearer $NIMBUS_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
DELETE/api/v1/zones/{zone_id}/recordsets/{recordset_id}

Delete Recordset

Deletes a recordset from the specified DNS zone.

Parameters

NameInTypeDescription
recordset_id*pathstringRecordset ID
zone_id*pathstringParent zone ID
admin_domainquerystring | null—
admin_projectquerystring | null—

Responses

  • 202Successful 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>/recordsets/<recordset_id>" \
  -H "Authorization: Bearer $NIMBUS_KEY"

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