We uses both Mailgun and Google App engine mail services to send transaction emails from our products. Both needs DKIM
and SPF
text record in the DNS server. Is it possible to set multiple DKIM
and SPF
record in DNS
configuration? Will it work?
Multiple DKIM and SPF DNS records
Asked Answered
You would only need a single SPF record as you can have multiple rules within it. Check this article for assistance on setting up more than just Google's entries in your SPF record.. Your DKIM signature will specify the subdomain on your domain to check for the signature key. Google Apps uses the google._domainkey
subdomain when it specifies the DKIM location to lookup. I'm not sure what mailgun uses but chances are it won't overlap.
Update:
After a quick look around I found this article on Mailgun's website and would think your SPF record should look like this:
v=spf1 include:mailgun.org include:_spf.google.com ~all
In my case, Mailgun requires a TXT record for
k1._domainkey
which clashes with the CNAME record for k1._domainkey
as required by MailChimp. –
Crowfoot © 2022 - 2024 — McMap. All rights reserved.
mx._domainkey
. – Northrup