From owner-freebsd-questions Wed Dec 11 13:40:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FC5C37B401 for ; Wed, 11 Dec 2002 13:40:38 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1896A43E4A for ; Wed, 11 Dec 2002 13:40:37 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id gBBLeP46042394 for ; Wed, 11 Dec 2002 21:40:25 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id gBBLeKrM042389 for freebsd-questions@FreeBSD.ORG; Wed, 11 Dec 2002 21:40:20 GMT Date: Wed, 11 Dec 2002 21:40:20 +0000 From: Matthew Seaman To: freebsd-questions@FreeBSD.ORG Subject: Re: BIND9 port Message-ID: <20021211214020.GA42278@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , freebsd-questions@FreeBSD.ORG References: <20021211122534.J8485-100000@guava.silverwraith.com> <002301c2a154$aa2288f0$ca0110ac@vinyl.tkvbp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002301c2a154$aa2288f0$ca0110ac@vinyl.tkvbp.com> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-2.2 required=5.0 tests=IN_REP_TO,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT version=2.43 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Dec 11, 2002 at 03:34:10PM -0500, Kliment Andreev wrote: > > Unfortuantely it didn't tell me where it expects the namedb dir to be, it > > didn't put a startup script in /usr/local/etc/rc.d like other ports do.. > > Is this normal? > > > > Should I just create my own and wing it? > > Put the following in /etc/rc.conf > > # DNS server > named_enable="YES" > named_program="/usr/sbin/named" > named_flags="-u bind -g bind" > > There is no need for startup script. Mostly right, although bind9 doesn't like the '-g' flag, and the port will install it into /usr/local/sbin and you'll probably want to explicitly define where the named.conf file is: named_enable="YES" named_program="/usr/local/sbin/named" named_flags="-u bind -c /etc/namedb/named.conf" Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message