我应该设置我的 IP 地址吗?PTR 记录mydomain.com
到邮件服务器所在的域 ( ) 或子域 ( mail.mydomain.com
)?这有点令人困惑。
答案1
为了扩展我的评论,这里有一个正确的邮件正向和反向 DNS 的例子(如果您有多个邮件服务器,方法可能会有所不同,这里有一个三个负载平衡的例子):
所有邮件服务器及优先级:
$ host speakeasy.net | grep mail
speakeasy.net mail is handled by 15 mx02.speakeasy.net.
speakeasy.net mail is handled by 5 mx.speakeasy.net.
speakeasy.net mail is handled by 10 mx01.speakeasy.net.
转发邮件服务器上的 DNS:
$ host mx.speakeasy.net
mx.speakeasy.net has address 69.17.117.60
$ host mx01.speakeasy.net
mx01.speakeasy.net has address 69.17.117.60
$ host mx02.speakeasy.net
mx02.speakeasy.net has address 69.17.117.60
邮件 IP 的 RDNS:
$ host 69.17.117.60
60.117.17.69.in-addr.arpa domain name pointer mx.speakeasy.net.