大网数据广告活动
服务器运维问答

Reverse DNS PTR entries matching to MX entries

· 52CE 我爱测

Confusion over what reverse DNS applies to and where it gets set... Although there are answers on how to do this , I still cannot determine what needs to get done and why. A domain is registered at Registrar A, which holds the DN…

问题原文

原帖链接 · Jerome · CC BY-SA 4.0

Confusion over what reverse DNS applies to and where it gets set... Although there are answers on how to do this, I still cannot determine what needs to get done and why.

A domain is registered at Registrar A, which holds the DNS tables. Registrar A also serves up mail services via the Registrar's owned domain. Two VPS serve different 3rd level domain services.

The spf record in DNS table points to the domain of the mail server for MX services, while the MX record points to

mail.registeredDomain.com

v=spf1 a mx ptr include:mailServer.net ~all

MX toolbox states Reverse DNS does not match SMTP Banner

are reverse DNS lookups based on the service (mx) or the domain? I can see the mismatch with MX record, but the mail provider had instructions to set up PTR record as stated.

How should the SPF PTR record be set? and why?

已采纳解答

原帖链接 · Ingvar J · CC BY-SA 4.0

No, the Reverse DNS records does not have anything to do with Your domain records

Lets say your domain is company.com. You have SOA, NS, MX, A and TXT -SPF records defined, pointing to an IP address of Yours.

The reverse zones for an IP address works like any other domain name lookup, but are located in domain suffix .in-addr.arpa . The domain delegation for sub domains under "in-addr.arpa" is not to be mixed up with the .com, .net etc.

Normally the "owners" of a subdomain to in-addr.arpa is the ISP owning the address space. So to get a correct DNS reverse lookup for "your" IP-address, you must ask your ISP to set it, or ask that you get an delagation for your subnet and add it to your own public dns.

And for your SPF PTR question, see open SPF syntax guide

If at all possible, you should avoid using this mechanism in your SPF record, because it will result in a larger number of expensive DNS lookups.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2018-11-15)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。