PTR (Pointer Recore),指针记录,是电子邮件系统中的一种数据类型,被互联网标准文件RFC1035所定义。与其相对应的是A记录、地址记录。二者组成邮件交换记录。
dig smtp.sina.com.cn +short
202.108.6.242
dig -x 202.108.6.242 +short
xk-6-242-a8.bta.net.cn.
202.108.6.242对应的域名应该是 smtp.sina.com.cn ,为何我得到了 xk-6-242-a8.bta.net.cn.??
它们是一回事吗?不是吧
dig www.ksu.edu.tw +short
120.114.100.101
dig -x 120.114.100.101 +short
www.ksu.edu.tw.
为何反向解析 202.108.6.242 不能得到 smtp.sina.com.cn ??
无法理解反向地址解析
-
- 帖子: 104
- 注册时间: 2016-07-08 17:43
- 系统: debian8
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: 无法理解反向地址解析
1. 自 Ubuntu 14.04 開始 dig 的 manpage 由 kdig 的 manpage 取代dig -x 202.108.6.242 +short
xk-6-242-a8.bta.net.cn.
202.108.6.242对应的域名应该是 smtp.sina.com.cn ,为何我得到了 xk-6-242-a8.bta.net.cn.??
1-1. http://manpages.ubuntu.com/manpages/pre ... dig.1.html
dig - DNS lookup utility
1-2. http://manpages.ubuntu.com/manpages/tru ... dig.1.html
kdig - Advanced DNS lookup utility
2. http://manpages.ubuntu.com/manpages/xen ... dig.1.html
kdig - Advanced DNS lookup utility
-x address
Send a reverse (PTR) query for IPv4 or IPv6 address. The correct
name, class and type is set automatically.
2-1. https://www.itworld.com/article/2833006 ... cords.html
How to setup Reverse DNS and PTR records
以關鍵字 in-addr.arpa 搜尋
2-2. https://help.ubuntu.com/16.04/servergui ... figuration
以關鍵字 in-addr.arpa 搜尋
- astolia
- 论坛版主
- 帖子: 6436
- 注册时间: 2008-09-18 13:11
Re: 无法理解反向地址解析
PTR记录不是根据正向解析自动生成的,而是人手工填写的。网站管理员把 242.6.108.202.in-addr.arpa 指向了 xk-6-242-a8.bta.net.cn. 原因你找他问去