/sbin/service named start 2>&1
国内一台服务器通过yum update升级后DNS服务挂掉,搜索了一下发现下面的解决方法
cd /etc/init.d
mv named named.backup
wget http://www.directadmin.com/named
chmod 755 named
/sbin/chkconfig named reset
This boot script uses a more direct method of reloading named.
如果是debian或FreeBSD操作系统的话分别用下面的地址替换:
debian:
www.directadmin.com/named.debian
FreeBSD:
www.directadmin.com/named.freebsd
复制替换其他服/etc/named.conf
//////////////////////////////
Apr 17 02:25:14 server named[24509]: could not configure root hints from 'named.ca': file not found
Apr 17 02:25:14 server named[24509]: loading configuration: file not found
cd /var/named wget http://www.directadmin.com/named.ca /sbin/service named start
/////////////////////////////////////////////
朽木的SEO笔记
文章简洁,明快,富有深意,但我一个字都没看懂