Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2002 21:40:20 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: BIND9 port
Message-ID:  <20021211214020.GA42278@happy-idiot-talk.infracaninophi>
In-Reply-To: <002301c2a154$aa2288f0$ca0110ac@vinyl.tkvbp.com>
References:  <20021211122534.J8485-100000@guava.silverwraith.com> <002301c2a154$aa2288f0$ca0110ac@vinyl.tkvbp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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