Zones and records
Each domain's zone, the record types, and editing them by command, API or file.
On this page
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.
| Type | For |
|---|---|
A, AAAA | an address (IPv4, IPv6) |
ALIAS | the apex (laespiga.co) pointing at a hostname, such as a Run app, where a CNAME is not allowed |
CNAME | a subdomain pointing at another name |
MX | where e-mail for the domain goes |
TXT | verifications, SPF, DMARC |
CAA | which certificate authorities may issue for the domain |
SRV, NS, PTR | services, delegating a subdomain, reverse lookups |
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 TXTChanges
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.