I'm setting up BIND on a Debian 4.0 server. My understanding is that on Debian, the named service is chrooted by default running from /usr/sbin/named /var/lib/named. Looking at the running processes on my box shows
Code:
bind 11618 0.0 0.3 30556 3192 ? Ssl Mar15 0:01 /usr/sbin/named -u bind -t /var/lib/named
The question I'm running into is where to put my db.domain.com files? By default I show all the db.0 db.local db.root in the /var/lib/named/etc/bind directory but when I search named.conf.options the directory statement says
Code:
named.conf.options: directory "/var/cache/bind";
So lets say I'm trying to manage the zone file for db.widgets.com My understanding is as-is I'd have to put db.widgets.com in /var/cache/bind but will the chrooted version installed on Debian be able to read it? If not, where should I put it?