简体   繁体   English

CNAME DKIM“托管”

[英]CNAME DKIM “Hosting”

I've ran into an issue where one of our domains is hosted with a company that only allows 1024 bit DKIM public keys, however the server that sends out emails has the DKIM public keys set and enforced to 2048 bit. 我遇到了一个问题,其中我们的一个域托管于一家只允许使用1024位DKIM公钥的公司,但是发送电子邮件的服务器已将DKIM公钥设置为2048位。

I'm looking to "host" the 2048 bit DKIM key on a different domain and link it across to the main domain with a CNAME record. 我希望将2048位DKIM密钥“托管”在另一个域上,并使用CNAME记录将其链接到主域。

Similar to how Mailchimp does it with their DKIM keys, where by you setup the record: 与Mailchimp使用其DKIM密钥的方式类似,您可以在其中设置记录:

CNAME k1._domainkey dkim.mcsv.net CNAME k1._domainkey dkim.mcsv.net

For reference if you lookup the DNS records for that mailchimp server the only one available is: 作为参考,如果您查找该mailchimp服务器的DNS记录,则唯一可用的是:

dkim.mcsv.net. 21593 IN TXT "k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDbNrX2cY/GUKIFx2G/1I00ftdAj713WP9AQ1xir85i89sA2guU0ta4UX1Xzm06XIU6iBP41VwmPwBGRNofhBVR+e6WHUoNyIR4Bn84LVcfZE20rmDeXQblIupNWBqLXM1Q+VieI/eZu/7k9/vOkLSaQQdml4Cv8lb3PcnluMVIhQIDAQAB;"

I'm wanting to copy this setup for a so I can host the DKIM key on something like hosteddkim.mywebsite.com 我想将此设置复制为,以便可以将DKIM密钥托管在诸如hosteddkim.mywebsite.com类的hosteddkim.mywebsite.com

The server that sends out the emails wanted the DKIM key to look like: 发送电子邮件的服务器希望DKIM密钥如下所示:

TXT default._domainkey v=DKIM1; k=rsa; p=MIGLONGLONGSTRINGHERE TXT default._domainkey v=DKIM1; k=rsa; p=MIGLONGLONGSTRINGHERE v=DKIM1; k=rsa; p=MIGLONGLONGSTRINGHERE

The domain that I want to host the DKIM key on, I tried to setup like: 我想在其上托管DKIM密钥的域,我尝试设置为:

TXT default._domainkey.hosteddkim v=DKIM1; k=rsa; p=MIGLONGLONGSTRINGHERE TXT default._domainkey.hosteddkim v=DKIM1; k=rsa; p=MIGLONGLONGSTRINGHERE v=DKIM1; k=rsa; p=MIGLONGLONGSTRINGHERE

I then set the following up on the domain where I am limited to a 1024 bit DKIM key: 然后,在仅限1024位DKIM密钥的域上进行以下设置:

CNAME default._domainkey hosteddkim.mywebsite.com CNAME default._domainkey hosteddkim.mywebsite.com

However it doesn't detect that the DKIM key for some reason... what am I doing wrong? 但是由于某种原因它没有检测到DKIM密钥...我在做什么错?

您创建的TXT记录是default._domainkey.hosteddkim.mywebsite.com ,因此您需要将CNAME记录指向该主机名,而不是hosteddkim.mywebsite.com

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM