Question
Error by setting up a DKIM for Mail Chimp
Hello,
I’m getting an error by making the following CNAME record:
k1._domainkey.infentorides.com to dkim.mcsv.net
Could you please tell me what to do?
Thanks in advance guys!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
What error message are you seeing?
I am having the same problem, some help would be highly appreciated.
I am just not sure how to set the right DNS records for mailchimp. Mailchimp gives these steps:
Set a TXT (SPF) record for XXX.com to:
Set the CNAME record for k1._domainkey.XXX.com to:
For the TXT record I need a “name” and “text”. For the CNAME I need as well a “name” and “hostname”. Which one is which?
DKIM is entered as a text record in your DNS zone. Here is an example of a common DNS zone, with A, CNAME, SPF and DKIM record..... These are just examples, you would obviously enter your own information, but this should give you a reasonable idea.
For A record....
Record type is
A
. Name Field isdomain.name
and Hostname will beyour droplet IP address
For CNAME....
Record Type is
CNAME
Name field iswww
or any other alias or subdomain, Hostname will be yourdomain.name
For SPF....
Record Type is usually entered as
TXT
(because SPF is deprecated). Name Field isdomain.name
and the Text field will be your SPF informationv=spf1 a ip4:XX.XX.XX.XX include:_spf.google.com ~all
<<<—Obviously that is just an example of a SPF entry, you would have created your own, replacing the X’s with your IP address and your include would likely be whatever you are supposed to be entering for Mailchimp instead of Google, but like I say, it’s just to give you an idea.For DKIM record....
Record Type is
TXT
. Name field is usuallymail._domainkey
,Text field will be your keyv=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC7w+x5d4FaFam3hAcrunEswan+/GhyIunbecru4u4AyabASuc3aGA2r2qerevAteP/ns/Xd6AxEfUnuD8ereswak8hUtUbUdedEPrec//cReWa4rephanewEyudrekaJebrAkefRuspeprad6UsecRUjaSEjac3UtHAd4umuWHteIDAQAB
<<<—Obviously that is just an example of a DKIM key, you would have created your own.I hope that helps.
Good luck.
I did it! :)
with a CNAME record.
forgot the (dot) at the end of the “dkim.mcsv.net” so “dkim.mcsv.net.”
@slender how did you do it? I still get an error from mailchimp. The txt record seems to work but the cname doesn’t.
It says:
DKIM: DKIM (CNAME record) should point from k1._domainkey.XXX.com to dkim.mcsv.net
I have set it like this:
Type: CNAME
Name: k1._domainkey.XXX.com
Hostname: dkim.mcsv.net.
@snowball: as @slender said, you need to add a trailing dot to
k1._domainkey.XXX.com
so that it is a recognized as a FQDN (otherwise, the origin/domain name will be appended to it, so it would be as if you enteredk1._domainkey.XXX.com.XXX.com
):k1._domainkey.XXX.com.
@kamaln7 awesome, thanks that worked. Didn’t got that both of them need dots at the end.
Working DNS Records for future reference:
Type: TXT
Name: @
Text: v=spf1 include:servers.mcsv.net ?all
Type: CNAME
Name: k1._domainkey.XXX.com.
Hostname: dkim.mcsv.net.
(obviously XXX.com has to be replaced with the domain you are using to send emails from mailchimp)
I’m glad you all managed to resolve your issues in the end…well done. :)
It might be worth noting that there are so many differences in configuring these things, for instance, Cludflare requires you to enter your records differently to how they are entered if you are using DO for your DNS records, and I dare say there are many differences across the board with how things are entered at different places. It’s a great learning curve though and good to be able to get help from the community. :)
About the DKIM, I have tried without the domain and it worked fine!
Type: CNAME
Name: k1._domainkey
Hostname: dkim.mcsv.net.
I can confirm that removing your domain from the Name: made it work for me.
Thanks a lot
How long did the changes take to resolve because it’s not working for me, I’m still getting this error:
Also, some people have suggested double-quotes around the TXT record’s value, is that required or does it not matter? Thanks!