亚马逊 ec2 的 SPF 记录 [英] SPF record for amazon ec2

查看:33
本文介绍了亚马逊 ec2 的 SPF 记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从哪里获得正确的语法来为 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.

推荐答案

这很容易做到:

  1. 为您的服务器提供弹性 IP
  2. 为将向您最喜欢的注册商发送邮件的服务器设置一个A"记录 - 一个好的做法是在主机名的某处包含svr",如 app-svr-01.youdomain.com
  3. 点击此处 联系亚马逊并要求提供 IP 的反向 dns 记录

  1. Provision an Elastic IP for your server
  2. 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
  3. 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:

a:app-svr-01.youdomain.com

a:app-svr-01.youdomain.com

注意:如果您需要从其他 AWS 服务器通过此服务器中继邮件,或以任何其他方式在服务器之间进行通信,则不应使用此新 FQDN,而应使用来自 AWS 控制台的 AWS FQDN(它将看起来像 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).

使用您的自定义域名将通过WAN"路由并产生带宽费用.

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

这篇关于亚马逊 ec2 的 SPF 记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆