DNS Setup Guide
Configure your domain's DNS records to send and receive email with DevMail. This takes about 10 minutes, plus DNS propagation time (up to 48 hours).
Before you begin
- • You must own the domain you want to configure.
- • You need access to your domain registrar's DNS settings (e.g., Namecheap, Cloudflare, GoDaddy).
- • DevMail will show you the exact values to copy — you don't need to calculate anything.
1Add your domain in DevMail
Go to Dashboard → Domains → Add domain and enter your domain name (e.g., yourcompany.com). DevMail will generate the DNS records you need to add.
2Add MX records (incoming email)
MX (Mail Exchanger) records tell the internet where to deliver email for your domain. Add these two records at your DNS provider:
| Type | Host / Name | Value | Priority | TTL |
|---|---|---|---|---|
| MX | @ | inbound.devmail.app | 10 | 3600 |
| MX | @ | inbound-alt.devmail.app | 20 | 3600 |
3Add SPF record (sender authentication)
SPF (Sender Policy Framework) tells receiving servers which services are authorised to send email on behalf of your domain. Add this TXT record:
| Type | Host / Name | Value | TTL |
|---|---|---|---|
| TXT | @ | v=spf1 include:spf.devmail.app ~all | 3600 |
Note: If you already have an SPF record, add include:spf.devmail.app to it rather than creating a second TXT record. Domains can only have one SPF record.
4Add DKIM record (email signing)
DKIM (DomainKeys Identified Mail) adds a cryptographic signature to your outgoing emails. DevMail generates a unique DKIM key for your domain — find it in Dashboard → Domains → [your domain] → DNS records.
| Type | Host / Name | Value | TTL |
|---|---|---|---|
| TXT | devmail._domainkey | v=DKIM1; k=rsa; p=<your key from dashboard> | 3600 |
5Add DMARC record (optional but recommended)
DMARC (Domain-based Message Authentication) tells receiving servers what to do with emails that fail SPF or DKIM checks. Start with a monitoring-only policy:
| Type | Host / Name | Value | TTL |
|---|---|---|---|
| TXT | _dmarc | v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com | 3600 |
6Verify your domain
Go back to Dashboard → Domains and click Verify domain. DevMail will check for all the records above. DNS changes typically propagate within minutes but can take up to 48 hours.
✓ Once verified, you're ready to create mailboxes and send email.