对于Amazon EC2的SPF记录Amazon、SPF

2023-09-11 09:04:52 作者:迟来的心痛〃

从哪里可以得到正确的语法创建的亚马逊EC2服务器上适当的SPF记录?我知道如何创建一个DNS条目,但我不知道放什么到位的SPF记录。

From where do I get the correct syntax to create a proper SPF record for EC2 amazon server? I understand how to create a dns entry but I have no idea what to put in place for the SPF record.

推荐答案

这是很容易做到的:

在提供一个弹性IP为您的服务器 设置一个A记录,它会发送与您喜爱的邮件服务器司法常务一个很好的做法遵循的包括SVR某处的主机名,如,app-svr-01.youdomain.com

Click这里联系亚马逊,并要求对IP Provision an Elastic IP for your server Setup an "A" record for the server which will be sending mail with your favorite registrar- a good practice to follow is to include "svr" somewhere in the hostname, as in, app-svr-01.youdomain.com

Click here to contact amazon and ask for a reverse dns record for the IP

补充放在你的SPF记录如下,你应该是好去:

add the following somewhere in your SPF record and you should be good to go:

答:app-svr-01.youdomain.com

a:app-svr-01.youdomain.com

请注意:如果你需要通过这台服务器从其他AWS服务器中继邮件,或以任何其他方式在服务器之间通信,shoukd不使用这个新的FQDN,而是AWS FQDN从AWS控制台(它看起来像ec2-xxx-xxx-xx-xx.compute-1.amazonaws.com)。

Note: if you need to relay mail through this server from your other AWS servers, or communicate between servers in any other way, you shoukd not use this new FQDN, but rather the AWS FQDN from the AWS console (it will look like ec2-xxx-xxx-xx-xx.compute-1.amazonaws.com).

通过广域网使用自定义域名将路线和产生带宽费用。

Using your custom domain name will route through the "WAN" and incur bandwidth charges.

 
精彩推荐