SPF and DMARC Record Generator
Tick every service that sends email from your domain, choose your policies and copy the DNS records. Include names follow each provider's public docs, so check your provider's docs before you publish.
Runs in your browser. Nothing you type is uploaded.
Result
DMARC policy: none. 2 sending services selected.
| Service | SPF entry | Note |
|---|---|---|
| Google Workspace | include:_spf.google.com | Check your provider's docs |
| Resend | include:amazonses.com (on send.example.com) | Resend puts its SPF record on a sending subdomain (usually send.yourdomain), not on the root domain. Copy the exact host from your Resend dashboard. |
Type: TXT
Host: @
Value: v=spf1 include:_spf.google.com ~all
# Host @ means the root domain (example.com).Type: TXT
Host: _dmarc
Value: v=DMARC1; p=none; rua=mailto:dmarc@example.com; adkim=r; aspf=r
# Full name: _dmarc.example.comType: TXT
Host: send
Value: v=spf1 include:amazonses.com ~all
# Full name: send.example.com. Check your provider's docs for the exact host.- p=none only monitors. Mail that fails is still delivered. Move to quarantine, then reject, once reports look clean.
- Also set up DKIM in each provider. DMARC passes when SPF or DKIM passes and matches your From domain.
How it works
- SPF
- A TXT record on your domain that lists which services may send email for it. Each include points to the provider's own list of servers.
- 10-lookup limit
- Receivers stop after 10 DNS lookups while checking SPF. Every include, a and mx counts, and includes can contain more includes.
- DMARC
- A TXT record at _dmarc that tells receivers what to do when mail fails SPF and DKIM checks for your domain, and where to send reports.
- Alignment
- Relaxed lets mail from a subdomain count for your main domain. Strict needs an exact match.
Questions
Can I have two SPF records?
No. Two v=spf1 records on the same name make SPF fail. Merge every service into a single record, which is what this tool does when you paste your old one.
Should I start DMARC with p=reject?
Usually not. Start with p=none and a report address, read the reports for a couple of weeks, fix any service that fails, then move to quarantine and reject.
~all or -all?
~all asks receivers to treat unlisted senders with suspicion; -all asks them to reject. Most teams start with ~all and let DMARC do the enforcing.
Why does my provider give a different include?
Providers change their records and some use regional names. Their own setup page is the source of truth, so use what it shows.
Get CapyLaunch Weekly
New indie launches and the week in AI tools and models, every Monday. Free, and you can unsubscribe anytime.
Your launch, this week. Free.
A reviewed listing, a permanent page with a link to your site, and feedback from makers who actually care.