发布网友
共1个回答
热心网友
问题状态:DNS可以正常解析客户机,但是客户机不能做解析,解析时出现如下错误:
[root@node1]#
nslookup
node2
;;
connection
timed
out;
trying
next
origin
;;
connection
timed
out;
no
servers
could
be
reached
关闭防火墙是正解!!!
[root@dns
~]#
getenforce
//DNS服务器上检测防火墙状态
Enforcing
//显示结果
[root@dns
~]#
service
iptables
stop
iptables:
Setting
chains
to
policy
ACCEPT:
filter
[
OK
]
iptables:
Flushing
firewall
rules:
[
OK
]
iptables:
Unloading
moles:
[
OK
]
[root@dns
~]#
chkconfig
iptables
off
//检查关闭状态为Disabled表明关闭了防火墙
[root@dns
~]#
getenforce
Disabled
service
iptables
sto这条命令在DNS上敲出之后,客户机马上可以正常解析!