我需要一些帮助来整理我的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=xxxxxxxxxxI 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
更多推荐
发布评论