Mon, 24 Jan 2005

bind9 init script update

I’ve been re-visiting my bind9 init scripts now that some time has passed and I’ve had them in production for about 6 months or so. I’ve changed the chroot to use a tmpfs filesystem instead of an ext2 loopback; this makes some error cases easier to handle, as well as simplifying the script by quite a bit.

The downside to using tmpfs is that all changes made by named to the zone files are lost when the machine restarts; this is not a safe config to use if you are using Dynamic DNS.

The new init script and default file:

[/config/bind9] permanent link