After I updated one of my Centos Servers, bind/named was broken giving out error :
1 2 3 |
cannot access '/var/named/run-root/var/named': No such file or directory Error in named configuration /etc/named.conf:6: parsing failed |
Seems like the latest ‘yum update’ broke the named configuration, I had to rebuild the named.conf using the plesk tool dnsmng:
1 2 3 4 |
cd /var/named/run-root/etc cp named.conf named.conf.old for domain in `ls`; do /usr/local/psa/admin/sbin/dnsmng update $domain; done; service named restart |
Leave a Reply