From owner-freebsd-current@FreeBSD.ORG Fri Sep 24 16:20:53 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B64416A4D3 for ; Fri, 24 Sep 2004 16:20:53 +0000 (GMT) Received: from hellhound.ceribus.net (c-24-21-90-79.client.comcast.net [24.21.90.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB56443D46 for ; Fri, 24 Sep 2004 16:20:52 +0000 (GMT) (envelope-from grover@ceribus.net) Received: (qmail 93615 invoked by uid 1002); 24 Sep 2004 16:21:36 -0000 Received: from grover@ceribus.net by hellhound.ceribus.net by uid 89 with qmail-scanner-1.22 (clamscan: 0.73. spamassassin: 2.63. Clear:RC:1(192.168.200.200):. Processed in 0.072168 secs); 24 Sep 2004 16:21:36 -0000 Received: from unknown (HELO ?192.168.200.219?) (192.168.200.200) by 192.168.200.225 with SMTP; 24 Sep 2004 16:21:36 -0000 From: Grover Lines To: freebsd-current@freebsd.org Content-Type: text/plain Date: Fri, 24 Sep 2004 09:20:56 -0700 Message-Id: <1096042856.24267.6.camel@purgatory.ceribus.net> Mime-Version: 1.0 X-Mailer: Evolution 2.0.0FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: Proper way to run bind9 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2004 16:20:53 -0000 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