查詢反向域名解析是否生效的方法
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
則表示沒有做反向域名解析