DKIM DNS records points to expired and 1024 bit keys when we selected 2048 bit key

0

We are using Amazon SES to send e-mails. We have enabled DKIM for a domain with 2048 bits key (previously we had it enabled with 1024 bits key). The service indicates to create 3 DNS records: one of them points to a 2048 bits key, another to a 1024 bits key and the last one to a expired key. The internal policies report a security issue because the DNS records do not point to 2048 bits keys. If we remove the non-2048 bits key records, then SES stops sending e-mails and complains. Any suggestions on just having DNS records with 2048 bits keys please? Is it compulsory to have the 1024 bits and the expired one please?

2 個答案
1
已接受的答案

Hi Miquel,

I've had the same questions as you and you need indeed to keep all three records. This is how EasyDKIM works. 2 selectors are used for keys rotation (old one and new one). You cannot force the rotation. This is handled by AWS and occurs once a year, though A makes no commitment on this (not documented). The third key is used as backup when upgrading key length. It will be used in case of rollback. It will stay forever. You cannot delete it.

AWS always uses one selector at a given time. You can verify what selector is used by sending an email from your domain.

AWS documentation could be improved on how EasyDkim works. It would be nice also to see in the admin console which key is active.

Regards, V.P.

vp
已回答 9 個月前
profile picture
專家
已審閱 1 個月前
1

Hi Miquel,

Assuming you have generated this using Easy DKIM in SES. I do not believe any newly generated records for the 2048 bits key should not point to the 1048-bit key or an expired key. It may be an issue where DNS propagation takes some time resulting in some records still pointing to old/expired keys. (According to AWS it may take up to 72 hours for DNS propagation)

Please verify the CNAME records for the newly generated 2048 bits key is accurate in your hosting provider or else regenerate the keys and try adding them to your DNS provider.

profile picture
Bisina
已回答 10 個月前
  • Yes, it is using the Easy DKIM in SES. How do I regenerate the keys please? Thanks a lot for your answer

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南