WEBINARSandboxes for AI agents, Oct 7th.Sandboxes: give your AI agents a real machine. Live on October 7th.Register free

YAML for domains

View as Markdown

Learn how to configure domain DNS records using YAML in Buddy pipelines. Set up A, AAAA, CNAME, MX, TXT records with geolocation routing.

YAML parameters for YAML for domains

Domain
notestring
Note for this resource
agent_notestring
YAML note for AI agents operating on this resource
recordsrequiredRecord<string, RecordYaml[]>
DNS records grouped by subname ('@' for the domain root, e.g. 'www', 'mail'); each subname maps to a list of records.

Last modified on Jul 21, 2026

YAML examples for YAML for domains

Minimal domain

yaml
example.com: records: "@": - type: A values: 1.2.3.4

Domain with multiple record types and geolocation routing

yaml
example.com: records: "@": - type: A ttl: 3600 values: - 1.2.3.4 - 5.6.7.8 - type: MX values: 10 mail.example.com www: - type: CNAME values: example.com geo: - type: A routing: Geolocation values: Default: - 1.1.1.1 Europe: - 2.2.2.2 US: - 3.3.3.3