Proper way to run bind9

Juha Saarinen juhasaarinen at
Mon Sep 27 18:33:36 PDT 2004

The PID file location for currently hardcoded to /var/run in the named binary.

Is there a good reason for not changing that to /var/run/named/pid as
the default on FreeBSD, instead of adjusting the location in both
/etc/defaults/rc.conf and named.conf?  This is error-prone, and easy
to forget --  if you do, it means named won't start up as it cannot
write the PID file to the default location.

Second, shouldn't /etc/rc.d/named be rewritten to take rndc into
account, and not use /etc/rc.subr?



More information about the freebsd-current mailing list