分类: LINUX
2013-10-17 16:17:23
[root@www cxh]# /etc/rc.d/init.d/named restart
停止 named: [确定]
Generating /etc/rndc.key:
[1]+ Stopped /etc/rc.d/init.d/named restart
#解决方法
[root@www cxh]# rndc-confgen -r /dev/urandom -a
wrote key file "/etc/rndc.key"
[root@www cxh]# /etc/rc.d/init.d/named restart
停止 named: [确定]
启动 named: [确定]
#查询53号端口启动
[root@www cxh]#netstat -utln | grep 53
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN
tcp 0 0 ::1:53 :::* LISTEN
udp 0 0 0.0.0.0:5353 0.0.0.0:*
udp 0 0 127.0.0.1:53 0.0.0.0:*
udp 0 0 :::34453 :::*
udp 0 0 ::1:53 :::*