- An
ALIASrecord at the apex,example.com. ACNAMEisn’t allowed at the apex, so Datum answersALIASqueries with the load balancer’s current addresses. See ALIAS. - A
CNAMErecord for each subdomain, such aswww.example.com.
famous-tree-abc12.datumproxy.net. To serve traffic for your domain, the load balancer also needs the domain as a custom hostname.
If your DNS is hosted somewhere else, you don’t need anything on this page. Create a
CNAME to the load balancer’s generated hostname at your own DNS provider.Point a domain with datumctl dns
The quickest way is thedatumctl dns plugin. To install it, run datumctl plugin install dns.
1
Find the load balancer's hostname
Default hostname line shows the generated hostname.2
Create the zone, if you haven't already
3
Add the records
GENERATED_HOSTNAME with the load balancer’s hostname, and keep the trailing dot.4
Check that it works
Programmed.Point a domain with manifests
The rest of this page creates the same zone and records withDNSZone and DNSRecordSet manifests, using datumctl apply.
Prerequisites
datumctlinstalled and authenticated- A valid Project
- Domain delegated to Datum nameservers
Configuration steps
Step 1: Set Variables
TheTARGET value is your Application Load Balancer endpoint hostname. Find it in the Datum portal under your Application Load Balancer’s generated hostname, or via:
- macOS / Linux
- Windows (PowerShell)
Step 2: Create the DNS Zone
- macOS / Linux
- Windows (PowerShell)
--validate=false disables client-side schema validation. It is required here because datumctl does not bundle schemas for DNS API types locally.ACCEPTED and PROGRAMMED show True before proceeding.
Step 3: Create the Apex ALIAS Record
Points the root domain (@) at the Application Load Balancer endpoint.
- macOS / Linux
- Windows (PowerShell)
Step 4: Create a Subdomain CNAME
Points a subdomain (e.g.,app.your-domain.example.com) at the same endpoint.
- macOS / Linux
- Windows (PowerShell)
Verification
Check Record Status
ACCEPTED=True and PROGRAMMED=True.
Check DNS Resolution
- macOS / Linux
- Windows (PowerShell)
Cleanup
- macOS / Linux
- Windows (PowerShell)
Troubleshooting
Summary
- DNS zones use
kind: DNSZoneatdns.networking.miloapis.com/v1alpha1 - The DNS zone class is always
datum-external-global-dns— it is platform-provided and not user-configurable - Use
recordType: ALIASfor the apex (@) andrecordType: CNAMEfor subdomains - The
TARGETvalue must include a trailing dot - All DNS apply commands require
--validate=false - Delete record sets before deleting the zone