- Ubuntu version: 14.04.1 LTS x86_64
- Bind version: 9.9.5
- Webmin version: 1.780
For a while now, I'm trying to configure bind.
First one as a slave to our current Windows DNS Servers which all works fine, but there is an additional requirement: an Interface.
So I installed Webmin, which came with the bind-module preinstalled and everything works fine, except for restarting the Server. I can stop it, but I cannot start it again. I get an
Failed to start BIND : Unknown error using the Webmin-Interface. Using
sudo service bind9 start works perfectly.
TL;DR: Bind works perfectly, but I can't start the bind service through the Webmin-Interface
The Syslog sais:
Jan 11 14:28:18 SRVNT151 named: loading configuration from '/etc/bind/named.conf' Jan 11 14:28:18 SRVNT151 named: /etc/bind/named.conf.local:34: open: /etc/bind/rndc.key: permission denied Jan 11 14:28:18 SRVNT151 named: loading configuration: permission denied Jan 11 14:28:18 SRVNT151 named: exiting (due to fatal error)
So my guess is, that it for some reason tries to start bind from another user, because the bind user has access to all the files it complains not having access to.
-rw-r----- 1 bind bind 76 Jan 11 13:52 rndc.key
Note: when I commented out the line including the rndc-file, it complained about not having access to
-rw-r--r-- 1 bind bind 7252744 Jan 11 13:53 named