为什么我不能创建这个 Route53 CNAME 别名?

Why can't I create this Route53 CNAME Alias?

我正在使用 fake-domain 代替我们真正拥有的东西。

这就是我现在在 R53 中的内容。

www.fake-domain.com     CNAME     xxxxxxx.cloudfront.net
fake-domain.com         MX        {typical MX records}
fake-domain.com         NS        {aws name servers }

当我尝试将 fake-domain.com 的 CNAME 别名添加到 www.fake-domain.com 时,出现以下错误:

InvalidChangeBatch 400: RRSet of type CNAME with DNS name fake-domain.com. is not permitted as it conflicts with other records with the same DNS name in zone fake-domain.com.

它与什么记录冲突?我没有 A,唯一的根级别是 MXNS

在 Route53 中,仅当您必须指向 AWS 资源时才允许使用别名,例如您可以创建 cname 别名以指向 ELB DNS。