API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · dns_records

DNS Record Schema

Schema ID
dns_record
Collection
dns_records
Permissions
  • Readasset_view
  • Createdomain_dns_edit
  • Editdomain_dns_edit
  • Deletedomain_dns_edit

Fields

DNS Record Schema

dns_records4 permissions

Schema for DNS records linked to domain assets

assetIduuidrequired

Reference to the parent domain asset

domainNamestringrequired

Fully qualified domain name (denormalized)

1–253 characters
inwxRecordIdintegeroptional

INWX record ID for synchronization

read-onlynullable
typestringrequired

DNS record type

AAAAACNAMEMXTXTSRVNSCAASOAPTRTLSASSHFPNAPTRDSLOCALIAS
namestringrequired

Record name (subdomain or @ for root)

1–253 characters
contentstringrequired

Record value/content

1–4096 characters
ttlintegerrequired

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 charactersnullable
sourcestringrequired

How this record was created

manualinwx_synctemplateacmeimport
templateIduuidoptional

DNS template ID if created from a template

nullable
linkedAssetIduuidoptional

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

nullable
mailFixobjectoptional

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

read-onlynullable
kindstringrequired
SPFDMARC
previousContentstringrequired
max 4096 charactersnullable
appliedContentstringrequired
max 4096 characters
appliedAtdatetimerequired
appliedByUserIdstringrequired
max 64 characters

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/dns_records — List, paginated + filterable
  • GET /api/v1/dns_records/<id> — Single entity
  • POST /api/v1/dns_records — Create
  • PATCH /api/v1/dns_records/<id> — Partial update
  • DELETE /api/v1/dns_records/<id> — Soft delete
  • GET /api/v1/dns_records/<id>/timeline — Audit + activities

Search