DNS Record Generator
Generate common DNS records, A, CNAME, MX, SPF, and DMARC, with sensible defaults and explanations, ready to add through your DNS provider's control panel.
A record
CNAME record
MX record
SPF record
DMARC record
Add these through your DNS provider's control panel (values only, the zone-file formatting above is just for clarity). Start DMARC at p=noneto monitor without affecting delivery, then tighten it once you've confirmed legitimate mail passes.
Frequently asked questions
What's the difference between SPF and DMARC?+
SPF lists which mail servers are allowed to send email for your domain; DMARC tells receiving mail servers what to do when a message fails SPF or DKIM checks, and where to send reports about it.
Why start DMARC at p=none?+
It puts DMARC in monitoring-only mode, so you can see reports of what's failing without risking legitimate email being quarantined or rejected. Tighten to quarantine or reject once you've confirmed everything passes.
Do I paste this directly into my DNS provider?+
The values (name, type, content) are what you enter; the zone-file-style formatting shown is just for readability. Most DNS providers use a simpler form-based interface rather than raw zone file syntax.