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

BIND DNS Paths

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.

Share

Leave a Reply