BIND9 port

2002-12-11 Thread Avleen Vig
Well, I know BINd8 ships with FreeBSD, but I wanted to install BIND9.
So I installed the port.

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?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: BIND9 port

2002-12-11 Thread Brian
if u want 9 to be started instead of 8, youll need to mod /etc/rc.conf to
get the right values in there.

Bri


On Wed, 11 Dec 2002, Avleen Vig wrote:

 Well, I know BINd8 ships with FreeBSD, but I wanted to install BIND9.
 So I installed the port.

 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?

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: BIND9 port

2002-12-11 Thread Kliment Andreev
 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.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: BIND9 port

2002-12-11 Thread Matthew Seaman
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 [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message