I love using cPanel to manage bind. If you've done this before, it's a cinche, just go click around in WHM awhile... but if you find that your name server isn't returning the DNS records you expect, you might be wondering what virtuozzo breaks about the process.
the best place to look for problems:
less /var/log/messages
Apr 7 16:39:48 k named[14909]: zone something.com/IN: loading master file /var/named/something.com.db: file not found
OHH
new versions of bind (& bind in virtuozzo) are now defaulting to a chroot'ed setup. i note that some of cPanel is aware of this (like \scripts\wwwact which creates new accounts) & does checks and acts a bit differently.
unfortunately it's spotchy and sometimes you end up with name records in /var/named and sometimes they get dropped in /var/named/chroot/var/named
this is caused by this:
vi /etc/sysconfig/named
if there are any lines that aren't commented in there then named is in a chroot environment. comment them out and restart bind
service bind restart
vi /etc/named.conf
note the zone paths "/var/named/something.com.db"
happy VPSing


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks