API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen
Entity · dns_records

DNS Record Schema

Schema-ID
dns_record
Collection
dns_records
Permissions
  • Lesenasset_view
  • Anlegendomain_dns_edit
  • Änderndomain_dns_edit
  • Löschendomain_dns_edit

Felder

DNS Record Schema

dns_records4 Permissions

Schema for DNS records linked to domain assets

assetIduuiderforderlich

Reference to the parent domain asset

domainNamestringerforderlich

Fully qualified domain name (denormalized)

1–253 Zeichen
inwxRecordIdintegeroptional

INWX record ID for synchronization

read-onlynullable
typestringerforderlich

DNS record type

AAAAACNAMEMXTXTSRVNSCAASOAPTRTLSASSHFPNAPTRDSLOCALIAS
namestringerforderlich

Record name (subdomain or @ for root)

1–253 Zeichen
contentstringerforderlich

Record value/content

1–4096 Zeichen
ttlintegererforderlich

Time to live in seconds

60 – 86400
priorityintegeroptional

Priority for MX and SRV records

0 – 65535nullable
weightintegeroptional

Weight for SRV records

0 – 65535nullable
portintegeroptional

Port for SRV records

0 – 65535nullable
descriptionstringoptional

User documentation for this record (e.g. "Mailserver Hetzner")

max 500 Zeichennullable
sourcestringerforderlich

How this record was created

manualinwx_synctemplateacme
templateIduuidoptional

DNS template ID if created from a template

nullable
linkedAssetIduuidoptional

Linked asset (e.g. server with this IP address)

nullable

Standard-Endpoints

Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:

  • GET /api/v1/dns_records — Liste, paginiert + filterbar
  • GET /api/v1/dns_records/<id> — Einzelne Entity
  • POST /api/v1/dns_records — Anlegen
  • PATCH /api/v1/dns_records/<id> — Teil-Update
  • DELETE /api/v1/dns_records/<id> — Soft-Delete
  • GET /api/v1/dns_records/<id>/timeline — Audit + Aktivitäten

Suche