Sending domains
Sending domains: publish the DNS records once, then let them look after themselves.
Add a domain and BillionSend lists the DNS records that set up its email authentication, checks each one live against public DNS and tells you which is missing or wrong. After that the DKIM keys rotate by themselves, and every domain keeps its own limits, links and unsubscribe page.
Free plan with 3 sending domains. No credit card.
import { BillionSend } from "@billionsend/node";const bs = new BillionSend(); // reads BILLIONSEND_API_KEYconst { data, error } = await bs.domains.create({ name: "mail.example.com",});if (error) throw error;// publish data.records at your DNS provider, then:await bs.domains.verify(data.id);curl -X POST https://api.billionsend.com/domains \ -H "Authorization: Bearer $BILLIONSEND_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "mail.example.com" }'curl -X POST https://api.billionsend.com/domains/$DOMAIN_ID/verify \ -H "Authorization: Bearer $BILLIONSEND_API_KEY"// { "id": "…", "name": "mail.example.com", "records": [ … ] }
- 180days between DKIM key rotations
- 3sending domains on Free
- 10sending domains on Starter
- 30days of broadcast warm-up
How it works
Email authentication from a name to a verified sender.
A subdomain such as mail.example.com keeps your root domain's reputation apart.
- 01
Add the domain
Set up email authentication in Domains, or with POST /domains. Pick the SES region it sends from; subdomains in different regions let you send from several.
- 02
Publish the DNS records
Email authentication takes SPF, DKIM and DMARC: two DKIM CNAMEs, the MAIL FROM MX and the SPF TXT, and a DMARC TXT that is recommended. On Cloudflare keep them DNS only, the grey cloud.

- 03
Verify, then send
Each email authentication record shows as found, missing or mismatched against live DNS. Once DKIM and MAIL FROM verify you can send, and BillionSend keeps checking and emails you if a record goes missing.
Settings
Every domain has its own rules.
Set them in the domain's tabs, or with PATCH /domains/{id}.
| Setting | What it does | Default |
|---|---|---|
| region | The SES region the domain sends from, chosen when it is added. | The first region BillionSend sends from |
| open_tracking, click_tracking | Add an open pixel and rewrite links so opens and clicks are recorded. | Off |
| tracking_subdomain | Serve tracked links from your own subdomain, such as links.example.com. Needs a paid plan. | The shared host |
| unsubscribe_subdomain | Serve the unsubscribe page from your own subdomain. It may be the same label as the tracking one. Needs a paid plan. | The shared host |
| unsubscribe_page | The name, logo, colors and texts of the page recipients see. | The team's default page |
| send_transactional_to_unsubscribed | Lets the domain's transactional mail reach people who unsubscribed from it. Broadcasts and topic mail never do. | Off |
| POST /domains/claim | Claim a name another team holds by publishing one TXT record. | The holder's queued mail and recent activity can delay it |
In your code
Read each record's status.
GET /domains/{id} returns every record with its status, what public DNS answers now and a hint when something is wrong.
- verifiedThe record is published and confirmed. Once email authentication passes for both DKIM and MAIL FROM, the domain can send.
- pendingThe record is found in DNS but the provider has not confirmed it yet. Wait; it can take up to 72 hours.
- failedDNS answers with a different value. live shows what it answers, and detail says what to change. On Cloudflare, check the record is not proxied.
- not_startedNo record found yet. Publish it at your DNS provider, then verify again.
{ "object": "domain", "id": "…", "name": "mail.example.com", "records": [ { "record": "DKIM", "type": "CNAME", "name": "bs1._domainkey.mail.example.com", "value": "TOKEN.dkim.billionsend-dns.com", "status": "pending", "live": "TOKEN.dkim.billionsend-dns.com", "detail": "Found in DNS, waiting for the provider to confirm it." } ]}Where it fits
Use email authentication to keep each sender on its own footing.
- 01
A subdomain for product mail
Send receipts and resets from mail.example.com and keep the reputation of your root domain apart from what you send.
- 02
Several brands, one account
Each domain has its own bounce and complaint rates, limits, links and unsubscribe page, so one brand's problem does not stop another's.
- 03
Links under your own name
Serve tracked links and the unsubscribe page from your own subdomain, with a certificate issued as soon as the CNAME resolves.
- 04
A domain someone else registered first
If a name sits in another account and you control its DNS, claim it with one TXT record and start fresh with new DKIM keys.
Before you ship
Plan for limits, conflicts and DNS.
HTTP 403Domain limit
Free allows 3 sending domains and Starter 10. Pro has 20-30 and Scale 50-300, by plan size. Past the limit, POST /domains answers plan_limit_reached.
HTTP 409Name taken, or still in use
A name another team holds answers 409, and so does deleting a domain while a scheduled or sending broadcast uses it, or while a topic or segment is bound to it.
DNS onlyCloudflare proxies
A proxied record answers with Cloudflare's addresses instead of the target BillionSend expects, so it shows as failed. The page says so when it sees it.
CostWhat needs a paid plan
Own tracking and unsubscribe subdomains need a paid plan, which starts at $10 a month. Rotation, live DNS checks and per-domain limits are on every plan.
Once it is verified
What else a domain does.
The same domain can receive mail and carry your own links.
Receive on the domain
Turn on receiving and publish two MX records, one for each inbound host. Inboxes use the domain's addresses, and a catch-all on a paid plan takes the rest.
Inbound emailTrack opens and clicks
Switch tracking on per domain and serve the links from your own subdomain.
Email tracking
FAQ
Questions, answered.
Something missing? Ask us at support@billionsend.com.


