PTR记录(反向DNS)

PTR(指针)记录将[[ip-address|IP地址]]映射回主机名,实现反向DNS查询——与[[a-record|A记录]]或[[aaaa-record|AAAA记录]]查询相反。PTR记录存在于in-addr.arpa(IPv4)和ip6.arpa(IPv6)域名下的特殊反向查询区域中,IP的八位组或半字节以反向顺序写入。邮件服务器使用PTR记录作为基本的反垃圾邮件信号:没有匹配PTR记录的发送IP(或其PTR无法正向确认回同一IP)经常被垃圾邮件过滤器拒绝。ISP和托管服务商控制这些反向区域的委派。

示例

The IP 93.184.216.34 has a PTR record pointing to 93.184.216.34.in-addr.arpa that resolves to 'edgecastcdn.net'; mail servers verify this to confirm the sender IP is legitimately associated with the claimed domain.