Sam
Sam

Reputation: 1461

Multiple DKIM and SPF records on Google Apps/G Suite/Google Workspace for MailChimp

I'm looking to add SPF and DKIM to my domain for MailChimp.

The domain in question is running through G Suite and has the following TXT record for SPF:

v=spf1 include:_spf.google.com ~all

The domain also has a TXT record for Google DKIM.

I've read via the MailChimp and G Suite docs that you shouldn't add more than one SPF record. With this in mind, would this be the correct way of adding MailChimp's SPF record?

v=spf1 include:_spf.google.com ~all include:servers.mcsv.net ?all

Do the same rules apply for DKIM or am I okay to add multiple records for this?

Upvotes: 10

Views: 6849

Answers (2)

Arn
Arn

Reputation: 1

The issue is, when we add a custom record with two SPF servers

Google Workspace has default rule with add again this TXT record :

"v=spf1 include:_spf.google.com ~all"

And then, it appears twice on the public TXT zone

Does that work ?

Upvotes: 0

Synchro
Synchro

Reputation: 37750

No, you can only have a single SPF record for a domain. The right way to combine those is:

v=spf1 include:_spf.google.com include:servers.mcsv.net ~all

You should never use ?all as the default action – it's as bad as not having SPF at all.

DKIM is different – you need a selector as the DNS name, so if Mailchimp uses a selector called mc (their docs will say), you would put their key in a record called mc._domainkey.example.com (substituting your domain for example.com). You can have many such selector records, and they are all independent.

You might like to look into creating a DMARC config as well.

Upvotes: 14

Related Questions