2015年11月24日 星期二

Linux Upgrade DNS.....dirty hand


https://forum.directadmin.com/showthread.php?t=46055


For people with CentOS 5 or 6 + DA it is easy to update.

Check if the bind rpm is installed:
Code:
rpm -qv bind
Check if the version is the same:
Code:
named -v
If it is (which is in most cases) you can safely use yum to update the package:
Code:
yum clean all
yum update bind
If it returns no errors, check again to see it's version:
Code:
named -v

or
https://www.godaddy.com/help/update-bind-on-your-linux-dedicatedvirtual-dedicated-server-4690
  1. Connect to your server via SSH (more info).
  2. Switch to the root user (more info).
  3. Type cp /etc/sysconfig/named /etc/sysconfig/named.bak
  4. Type yum clean all.
  5. Type yum update bind


If not start up
cd /etc/init.d
mv named named.backup
wget -O named http://www.directadmin.com/named
chmod 755 named
/sbin/chkconfig named reset


沒有留言:

張貼留言