Pages

Welcome to My Blog

This is to share my IT experience with friends all around the world.
I have been working in Linux Fedora Systems for more than 8 years. Its fun to share knowledge and learn..
As everyone knows when a problem arises in your systems "googling" is the way that many depend on..

All the posts here are my working experiences during my working life.. So you can count on it..

I have added the references where I got help in solving IT issues


Monday, March 14, 2011

chroot for BIND 9

There may be permission issues when using bind-chroot

Example log entry in the named log file:

general: error: dumping master file: tmp-tAj6kdgzCl: open: permission denied
xfer-in: error: transfer of 'lk/IN' from 192.248.8.17#53: failed while receiving responses: permission denied

The issue is due to permissions in the bind directories

Set the permissions as follows

chmod 755 /var/named/
chmod 775 /var/named/chroot/
chmod 775 /var/named/chroot/var/
chmod 775 /var/named/chroot/var/named/
chmod 775 /var/named/chroot/var/run/
chmod 777 /var/named/chroot/var/run/named/

Good reference:
http://hostechsupport.com/forums/showthread.php?620-Install-A-Chrooted-DNS-Server-%28BIND9%29

No comments:

Post a Comment