Fixing Bind for Webmin

First get rid of bind-chroot (if it is installed!)

yum -y remove bind-chroot

edit /etc/sysconfig/named and remove/comment out any lines that look like ROOTDIR="/var/named/chroot"

Fix the owner of /etc/named.conf with

chown named:named /etc/named.conf

In Webmin go to Servers > Bind DNS Server > Module Config and check the following configs


Chroot directory to run BIND under: none
Is named.conf under chroot directory?: no

Zone file options

Directory for master zone files: /var/named
Directory for slave/stub zone files: /var/named/slaves
Owner for zone files (user:group): named:named

Restart named and you should be good to go.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.