Skip to main content
This guide prepares a domain for use with a Datum AI Edge by creating a DNS zone, an apex ALIAS record, and a subdomain CNAME — all pointing at the AI Edge endpoint.
This guide assumes your domain is already delegated to Datum nameservers. See DNS for nameserver details and ALIAS record behavior.

Prerequisites

  • datumctl installed and authenticated
  • A valid Project
  • Domain delegated to Datum nameservers

Configuration Steps

Step 1: Set Variables

The TARGET value is your AI Edge endpoint hostname. Find it in the Datum portal under your AI Edge’s generated hostname, or via:

Windows (PowerShell)

macOS / Linux

TARGET must include a trailing dot. Without it, the value will be treated as a relative name and DNS resolution will fail.

Step 2: Create the DNS Zone

Windows (PowerShell)

macOS / Linux

--validate=false disables client-side schema validation. It is required here because datumctl does not bundle schemas for DNS API types locally.
Verify the zone is accepted and programmed:
Wait until both ACCEPTED and PROGRAMMED show True before proceeding.

Step 3: Create the Apex ALIAS Record

Points the root domain (@) at the AI Edge endpoint.

Windows (PowerShell)

macOS / Linux


Step 4: Create a Subdomain CNAME

Points a subdomain (e.g., app.your-domain.example.com) at the same endpoint.

Windows (PowerShell)

macOS / Linux


Verification

Check Record Status

Both records should show ACCEPTED=True and PROGRAMMED=True.

Check DNS Resolution

Windows (PowerShell)

macOS / Linux

Both names should resolve to the AI Edge endpoint.

Cleanup

Windows (PowerShell)

macOS / Linux


Troubleshooting


Summary

  • DNS zones use kind: DNSZone at dns.networking.miloapis.com/v1alpha1
  • The DNS zone class is always datum-external-global-dns — it is platform-provided and not user-configurable
  • Use recordType: ALIAS for the apex (@) and recordType: CNAME for subdomains
  • The TARGET value must include a trailing dot
  • All DNS apply commands require --validate=false
  • Delete record sets before deleting the zone
Last modified on July 6, 2026