Debian - Webmin and Bind Chroot

Associate
Joined
3 Nov 2005
Posts
602
Location
Stoke-on-Trent
Hi Folks

I have installed 2 debain 4 servers to act as as a primary and secondary DNS server. I have configured these in a test enviroment unsing webmin. The master zone happily forwards updates to the slave zone on the second server.

I am now securing the boxs and have created a chroot for DNS (Bind 9) as per

http://www.howtoforge.com/perfect_setup_debian_etch_p4

However master zones no longer allow transfers to the slave. (Existing and newly created zones)


Snapshot from master servers syslog

Oct 25 16:47:06 sfc1 named[2481]: none:0: open: /etc/bind/rndc.key: permission denied
Oct 25 16:47:06 sfc1 named[2481]: couldn't add command channel 127.0.0.1#953: permission denied
Oct 25 16:47:06 sfc1 named[2481]: none:0: open: /etc/bind/rndc.key: permission denied
Oct 25 16:47:06 sfc1 named[2481]: couldn't add command channel ::1#953: permission denied


Snapshot from slave servers syslog

Oct 25 16:47:32 sfc2 named[2791]: loading configuration from '/etc/bind/named.conf'
Oct 25 16:47:32 sfc2 named[2791]: none:0: open: /etc/bind/rndc.key: permission denied
Oct 25 16:47:32 sfc2 named[2791]: couldn't add command channel 127.0.0.1#953: permission denied
Oct 25 16:47:32 sfc2 named[2791]: none:0: open: /etc/bind/rndc.key: permission denied
Oct 25 16:47:32 sfc2 named[2791]: couldn't add command channel ::1#953: permission denied


Any help would be really apreciated, I have now been trying to get this to work for 2 days solid!
 
Back
Top Bottom