查询反向域名解析是否生效的方法
1.首先,在计算机桌面中使用组合键“win+R”运行cmd,打开命令提示符窗口;
2.进入到命令提示符窗口后,在命令行中执行nslookup命令查询反向域名解析;
nslookup -qa=ptr 113.71.88.252 //后面接需要查询的ip地址
3.执行nslookup命令后,查看输出结果;
输出结果为:
*** Can't find server name for address 192.168.1.4: Non-existent domain
Server: UnKnown Address: 192.168.1.4
Non-authoritative answer: 21.235.55.202.in-addr.arpa
name = mail-his.liteon.com 21.235.55.202.in-addr.arpa
name = mail.silitek.com.tw 21.235.55.202.in-addr.arpa
name = msg902.liteon.com 21.235.55.202.in-addr.arpa
name = msg011.liteon.com 21.235.55.202.in-addr.arpa
name = mail.liteon.com 21.235.55.202.in-addr.arpa
name = mail.silitec.com
表示反向域名解析已生效
输出结果为:
*** UnKnown can't find 165.82.144.118.in-addr.arpa.: Non-existent domain
则表示没有做反向域名解析