Overview
Use your own domain for sending and receiving emails to maintain brand identity and improve deliverability. Custom domains require DNS verification through MX, DKIM, SPF, and DMARC records.Why Use Custom Domains?
Brand Identity
Send emails from your own domain (e.g., [email protected]) instead of @sendook.com
Better Deliverability
Properly configured custom domains improve email deliverability and reduce spam scores
Professional Appearance
Emails from your domain appear more trustworthy to recipients
Receive Emails
Route incoming emails to your domain through Sendook
Adding a Custom Domain
DNS changes can take up to 48 hours to propagate, but typically complete within a few hours.
Required DNS Records
You’ll need to configure four types of DNS records:1. MX Record (Mail Exchange)
Routes incoming emails to AWS SES:What is an MX record?
What is an MX record?
MX (Mail Exchange) records tell other email servers where to send emails for your domain. This record directs incoming emails to AWS SES, which Sendook uses to receive and process your emails.
2. DKIM Records (DomainKeys Identified Mail)
Verifies email authenticity (3 CNAME records):The
{token} values are unique to your domain and returned by the DNS endpoint. They look like: abcd1234efgh5678ijklWhat is DKIM?
What is DKIM?
DKIM adds a digital signature to your emails, allowing recipients to verify that emails claiming to be from your domain were actually sent by you and haven’t been tampered with in transit.
3. SPF Record (Sender Policy Framework)
Authorizes AWS SES to send emails on your behalf:What is SPF?
What is SPF?
SPF specifies which mail servers are allowed to send emails on behalf of your domain. This helps prevent email spoofing and improves deliverability.
4. DMARC Record (optional but recommended)
Defines how to handle emails that fail authentication:What is DMARC?
What is DMARC?
DMARC builds on SPF and DKIM to provide additional protection against email spoofing. It tells receiving mail servers what to do with emails that fail authentication checks (reject, quarantine, or monitor).
DNS Configuration Examples
Cloudflare
- Go to your domain in Cloudflare
- Click DNS in the sidebar
- Add each record with the values provided
- Make sure Proxy status is set to DNS only (gray cloud)
GoDaddy
- Log in to your GoDaddy account
- Go to My Products → DNS
- Click Add for each record type
- Enter the name, type, and value for each record
Namecheap
- Log in to Namecheap
- Go to Domain List and click Manage
- Go to Advanced DNS
- Click Add New Record for each DNS entry
Route 53 (AWS)
- Go to the Route 53 console
- Select your hosted zone
- Click Create Record
- Add each record type with the provided values
Verifying Your Domain
After adding DNS records:- Wait 5-10 minutes for DNS propagation
- Call the verify endpoint
- Check the verification status
Managing Domains
List All Domains
Get Domain Details
Delete a Domain
Using Subdomains
You can also use subdomains (e.g.,mail.yourdomain.com):
- Separating transactional and marketing emails
- Testing before switching your main domain
- Using different configurations for different services
Troubleshooting
Domain verification fails
Domain verification fails
Common causes:
- DNS records haven’t propagated yet (wait 10-30 minutes)
- Records are configured incorrectly (double-check values)
- Proxy is enabled on Cloudflare (must be DNS only)
- Multiple SPF records exist (combine into one)
Emails not being received
Emails not being received
Check:
- Domain is verified
- MX record is configured correctly
- MX record priority is set to 10
- DNS changes have propagated globally
Sent emails going to spam
Sent emails going to spam
Improve deliverability:
- Ensure all DNS records are configured (especially SPF, DKIM, DMARC)
- Warm up your domain by gradually increasing send volume
- Avoid spam trigger words in subject lines
- Include unsubscribe links in marketing emails
- Monitor your sender reputation
SPF record conflicts
SPF record conflicts
If you already have an SPF record for other email services:Incorrect:Correct:Combine all
include: directives into a single SPF record.Best Practices
Next Steps
Create Inboxes
Create inboxes using your verified custom domain
Send Emails
Start sending emails from your custom domain
Receive Emails
Set up webhooks to receive emails at your domain
API Reference
View complete domain API documentation