Documentation/DNS Setup Guide

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).

15 min readUpdated Jan 2026

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:

TypeHost / NameValuePriorityTTL
MX@inbound.devmail.app103600
MX@inbound-alt.devmail.app203600

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:

TypeHost / NameValueTTL
TXT@v=spf1 include:spf.devmail.app ~all3600

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.

TypeHost / NameValueTTL
TXTdevmail._domainkeyv=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:

TypeHost / NameValueTTL
TXT_dmarcv=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com3600

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.