How a domain is verified
- Add the domain with
POST /email_domains. Use a subdomain you keep for email, such asmail.acme.com, rather thanacme.com: the records then never touch your main domain’s mail. - Add the four records from
dns_recordsat your DNS provider. The three CNAMEs point eachhostat itsvalue: names _æfer serves, so they stay the same if _æfer changes email provider. The TXT record proves your account controls the domain; its value is unique to this registration. - Call
POST /email_domains/{id}/verify, or wait: apendingdomain is checked every hour for its first 7 days. Once all four records resolve, it isverified. DNS changes can take a few hours to be visible. A domain stillpendingafter 7 days is removed; add it again to get new records.
failing until all four resolve again.
If another account added the same domain and hasn’t verified it, yours is answered with the TXT
record only. Add it and verify: once the TXT record proves your account controls the domain, the
other account’s registration is removed and yours gets the three CNAMEs. A domain another account
has verified can’t be added (409 domain_taken). A taken-over domain gets a fresh 7 days to verify its new CNAMEs.
A failing domain is never removed or taken over: its account keeps the name until it deletes it.
Attributes
Whether the domain’s records resolve.
pending: not all four records resolve yet. Checked every hour for 7 days, and whenever you verify it; removed if still pending after 7 days.verified: all four records resolve. Checked once a day.failing: was verified, but a record stopped resolving on two checks in a row. It is verified again once all four resolve.
pending, verified, failing.The four records to add at your DNS provider: three CNAMEs, and a TXT record that proves your account controls the domain.
When a
pending domain is removed if it isn’t verified by then, in ISO 8601: 7 days after it was
added. Null once the domain is verified.