Код: Выделить всё
/usr/sbin/named -u bind
В rc.conf соответственно прописано все как надо
Код: Выделить всё
named_enable="YES"
named_program="/usr/sbin/named"
named_flags="-u bind -g bind -c /etc/namedb/named.conf"
Код: Выделить всё
/usr/sbin/named -u bind
Код: Выделить всё
named_enable="YES"
named_program="/usr/sbin/named"
named_flags="-u bind -g bind -c /etc/namedb/named.conf"
Код: Выделить всё
-c /etc/namedb/named.conf
Код: Выделить всё
# named
named_enable="YES"
named_program="/usr/sbin/named" # Path to named, if you want a different one.
named_flags="-c /etc/namedb/named.conf" # Uncomment for named not in /usr/sbin
named_pidfile="/var/run/named/pid" # Must set this in named.conf as well
named_uid="bind" # User to run named as
named_chrootdir="/var/named" # Chroot directory (or "" not to auto-chroot it)
named_chroot_autoupdate="YES" # Automatically install/update chrooted
# components of named. See /etc/rc.d/named.
named_symlink_enable="YES" # Symlink the chrooted pid file
Код: Выделить всё
madcat$ named -v
BIND 9.6.-ESV-R3
Код: Выделить всё
# cat /etc/rc.conf | grep named
named_enable="YES"
# ps axu | grep named
bind 1193 0.0 0.2 28844 18132 ?? Ss 11:40AM 0:00.96 /usr/sbin/named -t /var/named -u bind
# named -v
BIND 9.6.-ESV-R3