From owner-freebsd-ports Mon Jan 29 7:56:24 2001 Delivered-To: freebsd-ports@freebsd.org Received: from peitho.fxp.org (peitho.fxp.org [209.26.95.40]) by hub.freebsd.org (Postfix) with ESMTP id 48C4437B698 for ; Mon, 29 Jan 2001 07:56:06 -0800 (PST) Received: by peitho.fxp.org (Postfix, from userid 1501) id 7056B1360C; Mon, 29 Jan 2001 10:56:05 -0500 (EST) Date: Mon, 29 Jan 2001 10:56:05 -0500 From: Chris Faulhaber To: Kai Voigt Cc: ports@FreeBSD.org Subject: Re: bind9 startup Message-ID: <20010129105605.A90994@peitho.fxp.org> References: <20010129164851.A56703@abc.123.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010129164851.A56703@abc.123.org>; from k@123.org on Mon, Jan 29, 2001 at 04:48:52PM +0100 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Jan 29, 2001 at 04:48:52PM +0100, Kai Voigt wrote: > Hello, > > how to start the bind9 port at system startup? I set named_enable to "NO" > in /etc/rc.conf and created a /usr/local/etc/rc.d/named.sh script: > *snip* > > I was wondering why such a script wasn't installed by the port. Or am > I missing something and bind9 is started in another way? > Because it is easier to start bind9 via rc.conf: $ grep named /etc/defaults/rc.conf # named. It may be possible to run named in a sandbox, man security for named_enable="NO" # Run named, the DNS server (or NO). named_program="named" # path to named, if you want a different one. named_flags="" # Flags for named #named_flags="-u bind -g bind" # Flags for named (i.e., add 'named_program="/usr/local/sbin/named"' to rc.conf) -- Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org -------------------------------------------------------- FreeBSD: The Power To Serve - http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message