AWS Website和GoogleApps Mail的DNS条目(DNS entries for AWS Website and GoogleApps Mail)

编程入门 行业动态 更新时间:2024-10-22 14:01:47
AWS Website和GoogleApps Mail的DNS条目(DNS entries for AWS Website and GoogleApps Mail)

我需要一些帮助来整理我的DNS条目。 我有一个域名,让我们说它是somecompany.com关闭此域名我在AWS Cloudfront上有一个网站,应该可以通过www.somecompany.com和somecompany.com访问我也有Google Apps设置用于电子邮件,因此用户有类似的地址user@somecompany.com

我的问题是虽然我可以设置Google Apps DNS条目并将邮件发送到正确的地址。 一旦我也设置了网站的条目,users@somecompany.com就会收到邮件。 我怀疑MX记录与somecompany.com的CNAME之间存在某种类型的冲突,但我不确定如何修复它。

DNS表如下......

somecompany.com CNAME xxxxxxxx.cloudfront.net www.somecompany.com CNAME somecompany.com somecompany.com MX ASPMX.L.GOOGLE.COM somecompany.com MX ALT1.ASPMX.L.GOOGLE.COM somecompany.com MX ALT2.ASPMX.L.GOOGLE.COM somecompany.com MX ALT3.ASPMX.L.GOOGLE.COM somecompany.com MX ALT4.ASPMX.L.GOOGLE.COM somecompany.com NS ns1.openprovider.nl somecompany.com NS ns2.openprovider.be somecompany.com NS ns3.openprovider.eu somecompany.com SOA ns1.openprovider.nl dns@openprovider.eu xxxxxxxxxx somecompany.com TXT google-site-verification=xxxxxxxxxx

I need some help sorting out my DNS entries. I have a domain, lets say it's somecompany.com Off this domain I have a website on AWS Cloudfront, which should be accessible via www.somecompany.com & somecompany.com I also have Google Apps setup for email, so users have addresses like user@somecompany.com

My problem is that although I can setup the Google Apps DNS entries and get mail sent to the right address. As soon as I also setup the entry for the website the mail stops being received by users@somecompany.com. I suspect some type of clash between the MX records and CNAME of somecompany.com but I'm not sure how to fix it.

DNS table is as follows...

somecompany.com CNAME xxxxxxxx.cloudfront.net www.somecompany.com CNAME somecompany.com somecompany.com MX ASPMX.L.GOOGLE.COM somecompany.com MX ALT1.ASPMX.L.GOOGLE.COM somecompany.com MX ALT2.ASPMX.L.GOOGLE.COM somecompany.com MX ALT3.ASPMX.L.GOOGLE.COM somecompany.com MX ALT4.ASPMX.L.GOOGLE.COM somecompany.com NS ns1.openprovider.nl somecompany.com NS ns2.openprovider.be somecompany.com NS ns3.openprovider.eu somecompany.com SOA ns1.openprovider.nl dns@openprovider.eu xxxxxxxxxx somecompany.com TXT google-site-verification=xxxxxxxxxx

最满意答案

我建议将www.somecompany.com创建为“A”记录,并将其指向Web服务器的IP地址。 创建CNAME就像在两者之间创建一个ALIAS。

For those who encounter this problem, you can solve it using this accepted answer posted by Michael-sqlbot

https://serverfault.com/questions/709415/dns-entries-for-aws-website-and-googleapps-mail

更多推荐

本文发布于:2023-04-29 07:27:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1335915.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:条目   GoogleApps   Website   AWS   entries

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!