Skip to content

Zones and records

Each domain's zone, the record types, and editing them by command, API or file.

Applies to EngineCloud
View as Markdown
On this page
  1. Changes
  2. Records as a file

Each domain has a zone with its records, served by four Route 53 name servers spread over different top-level domains, so one failing does not take the domain down.

TypeFor
A, AAAAan address (IPv4, IPv6)
ALIASthe apex (laespiga.co) pointing at a hostname, such as a Run app, where a CNAME is not allowed
CNAMEa subdomain pointing at another name
MXwhere e-mail for the domain goes
TXTverifications, SPF, DMARC
CAAwhich certificate authorities may issue for the domain
SRV, NS, PTRservices, delegating a subdomain, reverse lookups
Terminal
npx @sypnia/domains records ls laespiga.co
npx @sypnia/domains records set laespiga.co www CNAME laespiga.co --ttl 300
npx @sypnia/domains records rm laespiga.co old TXT

Changes

Each change is applied as one batch and is live on every name server in about a minute; records set waits for that and says so. The zone keeps a history of every change, who made it and from where (console, CLI, API, an agent, a connection), and records undo <change-id> reverts one.

Records as a file

domains records export laespiga.co > zone.txt writes the zone in the standard zone-file format, and records import applies a file, showing what will be added, changed and removed before doing it.

  1. Changes
  2. Records as a file

    Search pages, sections and terms