DNS record generator
Generate SPF, DMARC and MX records for your domain. Pick an email provider preset or build the records by hand — the output updates live and copies to your clipboard in one click. Nothing leaves this page.
Domain
MX records
SPF record
DMARC record
DNS records
Paste each line into your DNS provider's record editor. TXT values go in quotes if your provider asks for them.
Notes on DNS records
- SPF lookups
- SPF allows a maximum of 10 DNS lookups per check (include, a, mx, ptr, exists all count). Stack too many providers and receivers will return
permerror. Use an SPF flattener or combine records carefully. - DMARC reporting
- Start with
p=noneand watch aggregate reports before moving toquarantineorreject. Services like dmarcian, Postmark or a simple mailbox can receiveruareports. - MX vs SPF
- MX tells the world where to deliver mail; SPF tells receivers which servers may send as your domain. You usually need both for deliverability.
- Propagation
- DNS changes can take minutes to hours (occasionally up to 48h) to propagate. Check with
dig TXT yourdomain.comor an online DNS checker before assuming a mistake.
DNS is only half the story — compare hosts that include email, or browse all tools for more generators.