Where do you keep your db files?

Ralf Hildebrandt Ralf.Hildebrandt at innominate.com
Sat May 12 08:24:27 UTC 2001


On Fri, May 11, 2001 at 11:49:16PM -0600, John Pickett wrote:
> Hey,
> 
> I'm sitting here reading "DNS and BIND" and it suggests a certain naming
> scheme for my DNS files.  However, it gives no indication where an "ideal"
> spot might be to put these files.  Any opinions?  Cheers!

I use (under my chroot dir):


/zones/master
/zones/slave

/zones/master is owned by root, mode 755
/zones/slave is owned by named, group named and mode 755

That way a runaway BIND cannot f*ck up the master zones (it runs as
named:named) but still write the slave zones to disk.


More information about the bind-users mailing list