Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Sep 2004 09:20:56 -0700
From:      Grover Lines <grover@ceribus.net>
To:        freebsd-current@freebsd.org
Subject:   Proper way to run bind9
Message-ID:  <1096042856.24267.6.camel@purgatory.ceribus.net>

next in thread | raw e-mail | index | archive | help
Just wondering what the correct rc.conf options should be used for the
new bind9. I have it working but using the default
named_pidfile="/var/run/named/pid" I get to many levels of symlinks
error, so I just made it /var/run/named and it works.

What I have right now is

named_enable="YES"
named_flags="-c /etc/namedb/named.conf"

I mean I have it running no problem. I just want to have it running
securly the correct way, and since its new there really are no guides.



---
named_enable="NO"               # Run named, the DNS server (or NO).
named_program="/usr/sbin/named" # path to named, if you want a different
one.
named_flags="-u bind"           # Flags for named
named_pidfile="/var/run/named/pid" # Must set this in named.conf as well
named_chrootdir=""              # 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

--

Grover Lines



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1096042856.24267.6.camel>