YAML for domains
Learn how to configure domain DNS records using YAML in Buddy pipelines. Set up A, AAAA, CNAME, MX, TXT records with geolocation routing.
YAML examples for YAML for domains
Minimal domain
yamlexample.com: records: "@": - type: A values: 1.2.3.4
Domain with multiple record types and geolocation routing
yamlexample.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 note: Points to the apex agent_note: 'ticket: OPS-142' geo: - type: A routing: Geolocation values: Default: - 1.1.1.1 Europe: - 2.2.2.2 US: - 3.3.3.3 note: Public DNS zone of the marketing site agent_note: 'owner: devops-team'