API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · dns_records

DNS Record Schema

Schema-ID
dns_record
Collection
dns_records
Permissions
  • Lezenasset_view
  • Aanmakendomain_dns_edit
  • Wijzigendomain_dns_edit
  • Verwijderendomain_dns_edit

Velden

DNS Record Schema

dns_records4 permissions

Schema for DNS records linked to domain assets

assetIduuidvereist

Reference to the parent domain asset

domainNamestringvereist

Fully qualified domain name (denormalized)

1–253 tekens
inwxRecordIdintegeroptioneel

INWX record ID for synchronization

read-onlynullable
typestringvereist

DNS record type

AAAAACNAMEMXTXTSRVNSCAASOAPTRTLSASSHFPNAPTRDSLOCALIAS
namestringvereist

Record name (subdomain or @ for root)

1–253 tekens
contentstringvereist

Record value/content

1–4096 tekens
ttlintegervereist

Time to live in seconds

60 – 86400
priorityintegeroptioneel

Priority for MX and SRV records

0 – 65535nullable
weightintegeroptioneel

Weight for SRV records

0 – 65535nullable
portintegeroptioneel

Port for SRV records

0 – 65535nullable
descriptionstringoptioneel

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

max. 500 tekensnullable
sourcestringvereist

How this record was created

manualinwx_synctemplateacmeimport
templateIduuidoptioneel

DNS template ID if created from a template

nullable
linkedAssetIduuidoptioneel

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

nullable
mailFixobjectoptioneel

Set by the mail security fix of the GRC suite (spec §21 G13), allows the undo

read-onlynullable
kindstringvereist
SPFDMARC
previousContentstringvereist
max. 4096 tekensnullable
appliedContentstringvereist
max. 4096 tekens
appliedAtdatetimevereist
appliedByUserIdstringvereist
max. 64 tekens

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/dns_records — Lijst, gepagineerd + filterbaar
  • GET /api/v1/dns_records/<id> — Enkele entity
  • POST /api/v1/dns_records — Aanmaken
  • PATCH /api/v1/dns_records/<id> — Gedeeltelijke update
  • DELETE /api/v1/dns_records/<id> — Soft-delete
  • GET /api/v1/dns_records/<id>/timeline — Audit + activiteiten

Zoeken