ITPub博客

首页 > IT基础架构 > 网络安全 > 测试DNS智能解析是否正常

测试DNS智能解析是否正常

原创 网络安全 作者:duhaiyang 时间:2007-12-08 22:24:14 0 删除 编辑

测试DNS智能解析是否正常
在主机IP地址为192.168.3/24;
网段的地址发起的DNS请求显示结果
[root@dhy named]# nslookup
Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
> www.net.cn
Server: 192.168.2.2
Address: 192.168.2.2#53

Name: www.net.cn
Address: 218.108.25.11
> 218.108.25.11
Server: 192.168.2.2
Address: 192.168.2.2#53

11.25.108.218.in-addr.arpa name = www.net.cn.
> ftp.net.cn
Server: 192.168.2.2
Address: 192.168.2.2#53

Name: ftp.net.cn
Address: 218.108.25.10
> 218.108.25.10
Server: 192.168.2.2
Address: 192.168.2.2#53

10.25.108.218.in-addr.arpa name = ftp.net.cn.
> vpn.net.cn
Server: 192.168.2.2
Address: 192.168.2.2#53

Name: vpn.net.cn
Address: 218.108.25.12
> 218.108.25.12
Server: 192.168.2.2
Address: 192.168.2.2#53

12.25.108.218.in-addr.arpa name = vpn.net.cn.


在主机IP地址为192.168.2/24;
网段的地址发起的DNS请求显示结果

[root@dhy named]# nslookup
Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
> www.net.cn
Server: 192.168.2.2
Address: 192.168.2.2#53

Name: www.net.cn
Address: 202.107.197.22
> 202.107.197.22
Server: 192.168.2.2
Address: 192.168.2.2#53

22.197.107.202.in-addr.arpa name = www.net.cn.
> ftp.net.cn
Server: 192.168.2.2
Address: 192.168.2.2#53

Name: ftp.net.cn
Address: 202.107.197.21
> 202.107.197.21
Server: 192.168.2.2
Address: 192.168.2.2#53

21.197.107.202.in-addr.arpa name = ftp.net.cn.
> vpn.net.cn
Server: 192.168.2.2
Address: 192.168.2.2#53

Name: vpn.net.cn
Address: 202.107.197.23
> 202.107.197.23
Server: 192.168.2.2
Address: 192.168.2.2#53

23.197.107.202.in-addr.arpa name = vpn.net.cn.

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/52450/viewspace-989973/,如需转载,请注明出处,否则将追究法律责任。

上一篇: dig的命令调试
请登录后发表评论 登录
全部评论
  • 博文量
    90
  • 访问量
    313353