id · namestringThe identifier and the domain.
statusstringpending_nameservers · active.
nameserversstring[]The pair to set at the registrar.
dnsobject{ mxOk, spfOk, dkimOk, dmarcOk, checkedAt }.
importedobject{ found, added, at }.
mailHostsarray[{ host, selector, dns, enabledAt }].
registrarstringWho registered it.
createdAtstringWhen it was attached.
dataobjectEverything the platform returned.
It is a snapshot
status and dns are what was last recorded. Listing or getting a domain returns that record — a domain that became active an hour ago still reads as pending until something checks.
status is a gate, not a label
While it is pending_nameservers, nothing in the zone serves: records can be written and mail can be enabled, and none of it is live. Showing a green state before that is the single most misleading thing an interface can do here.
The four witnesses
| Field | True when the zone holds |
|---|---|
mxOk | the records that make mail arrive |
spfOk | the record saying who may send |
dkimOk | the key that signs |
dmarcOk | the policy |
mailHosts is per host
The apex and each subdomain appear separately, each with its own selector and its own four witnesses — because each is configured on its own.
Never hardcode the nameservers
They are stored per domain and handed back here. A pair written into your own code works until the day it is changed.