- 论坛徽章:
- 0
|
本帖最后由 tutuit 于 2014-05-26 00:38 编辑
额,我发现ping是无法ping通www.163.com这样的。但是dig却可以返回正确的
同时,即使我把named.conf里面的forwarders选项关闭,他依然可以dig到所有的外网地址。。。这个是因为缓存引起的吗?还是其他什么原因呢(每次改完dns我都有重启一下named服务)?
[root@dhcp ~]# dig www.163.com
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5 <<>> www.163.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57458
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 5, ADDITIONAL: 5
;; QUESTION SECTION:
;www.163.com. IN A
;; ANSWER SECTION:
www.163.com. 600 IN CNAME www.163.com.lxdns.com.
www.163.com.lxdns.com. 600 IN CNAME 163.xdwscache.glb0.lxdns.com.
163.xdwscache.glb0.lxdns.com. 120 IN A 182.140.147.57
163.xdwscache.glb0.lxdns.com. 120 IN A 182.140.147.106
163.xdwscache.glb0.lxdns.com. 120 IN A 182.140.236.27
;; AUTHORITY SECTION:
xdwscache.glb0.lxdns.com. 172800 IN NS ns5.glb0.lxdns.com.
xdwscache.glb0.lxdns.com. 172800 IN NS ns1.glb0.lxdns.com.
xdwscache.glb0.lxdns.com. 172800 IN NS ns2.glb0.lxdns.com.
xdwscache.glb0.lxdns.com. 172800 IN NS ns3.glb0.lxdns.com.
xdwscache.glb0.lxdns.com. 172800 IN NS ns4.glb0.lxdns.com.
;; ADDITIONAL SECTION:
ns1.glb0.lxdns.com. 36000 IN A 220.162.97.201
ns2.glb0.lxdns.com. 36000 IN A 125.39.1.247
ns3.glb0.lxdns.com. 36000 IN A 112.124.27.108
ns4.glb0.lxdns.com. 36000 IN A 220.162.97.203
ns5.glb0.lxdns.com. 36000 IN A 125.39.1.116
;; Query time: 1368 msec
;; SERVER: 192.168.19.12#53(192.168.19.12)
;; WHEN: Sun May 25 22:31:40 2014
;; MSG SIZE rcvd: 312 |
|