SPF and DKIM for Mailgun
Mailgun needs include:mailgun.org in your SPF record. Add it to the TXT record of the domain or subdomain you send from in Mailgun. Check your domain below once the records are in.
- Free
- No Sign-Up
- Live Lookup
Examples:
SPF Checker
Mailgun records
Add it to the TXT record of the domain or subdomain you send from in Mailgun.
DKIM: A TXT record with the selector Mailgun shows in your domain's DNS settings (it differs per domain).
A domain can have only one SPF record. If you already send through another service, add the include to your existing record rather than creating a second one, and keep the total under 10 DNS lookups.
Once SPF and DKIM pass, add a DMARC record at _dmarc with p=none and a reporting address, read the reports for a couple of weeks, then move to quarantine and reject.
Questions
What is the SPF record for Mailgun?
Where do I find the DKIM record for Mailgun?
Do I need DMARC with Mailgun?
How long do new SPF and DKIM records take to work?
Free Tools
More tools
Your customers' VMs sending spam?
Frabs spots outbound spam from any VM within seconds and stops it, before your IPs end up on a blocklist.