Receiving mail with Amazon SES doesn't work because the MX record resolves to the CNAME I set up for Cloudfront

0

To receive mail with Amazon SES you need to set up an MX record to point to an SES server for your domain, but if you use CloudFront (or a load balancer, I believe) you also have to set up a CNAME that points to the host of the CloudFront distribution (or load balancer). But as I understand it DNS does not allow you to have an MX record on a host if there is also a CNAME on that host. If you ask for the MX record it returns the host pointed to by the CNAME, in my case a CloudFront distribution. Is there a way around this?

1 個回答
1
已接受的答案

If you use Route 53 for the name servers of the domain then you can point a special "A" like record to the CloudFront alias, then use the MX record I believe. If you host it outside of Route 53 then you can do an A record for the IP of CloudFront but I recommend against that as I believe does AWS.

profile picture
已回答 1 年前
  • Okay, thanks for the help. I'll have to see about transferring the domain to Route 53.

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

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

回答問題指南