Zum Inhalt springen
NimbusNexus

DNS-Einträge

Ein Record-Set ist ein Tupel (name, type) innerhalb einer Zone und enthält einen oder mehrere Werte. www.example.com → A → 203.0.113.5 ist ein A-Record-Set mit einem einzigen Wert; Sets mit mehreren Werten (Round-Robin-DNS) enthalten N Werte unter einer Set-ID.

Unterstützte Eintragstypen

TypZweckBeispielwert
AIPv4-Adresse203.0.113.5
AAAAIPv6-Adresse2001:db8::1
CNAMEAlias auf einen anderen Namenother.example.com.
MXMailserver10 mail.example.com.
TXTFreitext — Verifizierung, SPF, DKIM, DMARC"v=spf1 -all"
SRVStandort eines Dienstes10 5 5060 sip.example.com.
NSDelegierung an andere Nameserverns1.other.com.
CAAAutorisierung von Zertifizierungsstellen0 issue "letsencrypt.org"
PTRReverse-DNS-Zeiger (für Floating-IPs)Siehe Floating-IPs

Nicht unterstützt werden: ALIAS / ANAME (CNAME-Flattening am Apex) — verwenden Sie stattdessen den CNAME auf einer Subdomain oder am Apex einen A-Eintrag, der auf eine Floating-IP zeigt.

Einträge mit mehreren Werten

Sie können mehrere Werte in ein Record-Set aufnehmen:

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

Die Nameserver liefern bei jeder Abfrage alle drei Werte, und Resolver verteilen die Requests darauf — einfaches Round-Robin-Load-Balancing ohne LB. Für echtes Load-Balancing richten Sie den Eintrag stattdessen auf die VIP eines Load Balancers; mehrere Werte sind für Fälle gedacht, in denen Client + Resolver das Failover selbst übernehmen können (die meisten modernen HTTP-Clients können das).

TTLs

Jedes Record-Set hat eine TTL in Sekunden — wie lange Resolver die Antwort zwischenspeichern, bevor sie erneut abfragen. Standardwerte:

  • A / AAAA / CNAME: 300 Sekunden (5 Minuten) — gut für schnelle Updates / Failover
  • MX / NS: 3600 (1 Stunde) — diese ändern sich selten
  • TXT für Verifizierung: 60 — kurz, damit erneute Verifizierungsprüfungen schnell gehen

Wählen Sie niedrigere TTLs, solange Sie noch aktiv ändern; erhöhen Sie sie, sobald die Einträge stabil sind, um Abfragevolumen + Kosten zu senken.

Nächste Schritte

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 →