API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · dns_records

DNS Record Schema

ID du schéma
dns_record
Collection
dns_records
Autorisations
  • Lireasset_view
  • Créerdomain_dns_edit
  • Modifierdomain_dns_edit
  • Supprimerdomain_dns_edit

Champs

DNS Record Schema

dns_records4 autorisations

Schema for DNS records linked to domain assets

assetIduuidobligatoire

Reference to the parent domain asset

domainNamestringobligatoire

Fully qualified domain name (denormalized)

1–253 caractères
inwxRecordIdintegerfacultatif

INWX record ID for synchronization

lecture seulenullable
typestringobligatoire

DNS record type

AAAAACNAMEMXTXTSRVNSCAASOAPTRTLSASSHFPNAPTRDSLOCALIAS
namestringobligatoire

Record name (subdomain or @ for root)

1–253 caractères
contentstringobligatoire

Record value/content

1–4096 caractères
ttlintegerobligatoire

Time to live in seconds

60 – 86400
priorityintegerfacultatif

Priority for MX and SRV records

0 – 65535nullable
weightintegerfacultatif

Weight for SRV records

0 – 65535nullable
portintegerfacultatif

Port for SRV records

0 – 65535nullable
descriptionstringfacultatif

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

max. 500 caractèresnullable
sourcestringobligatoire

How this record was created

manualinwx_synctemplateacmeimport
templateIduuidfacultatif

DNS template ID if created from a template

nullable
linkedAssetIduuidfacultatif

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

nullable
mailFixobjectfacultatif

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

lecture seulenullable
kindstringobligatoire
SPFDMARC
previousContentstringobligatoire
max. 4096 caractèresnullable
appliedContentstringobligatoire
max. 4096 caractères
appliedAtdatetimeobligatoire
appliedByUserIdstringobligatoire
max. 64 caractères

Endpoints standard

Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :

  • GET /api/v1/dns_records — Liste, paginée et filtrable
  • GET /api/v1/dns_records/<id> — Une entité
  • POST /api/v1/dns_records — Créer
  • PATCH /api/v1/dns_records/<id> — Mise à jour partielle
  • DELETE /api/v1/dns_records/<id> — Suppression logique
  • GET /api/v1/dns_records/<id>/timeline — Audit et activités

Recherche