Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 1996 02:37:23 -0800 (PST)
From:      Donald Burr <>
To:        Barnacle Wes <>
Subject:   Re: DNS and Bind on FreeBSD.
Message-ID:  <>
In-Reply-To: <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tue, 13 Feb 1996, Barnacle Wes wrote:

> > The command to run named is as follows:
> > 
> > named -b /etc/namedb/named.boot
> > 
> > It should be run out of /etc/rc.local, and NOT inetd or any other 
> > mechanism.  It is a free-standing daemon.
> No, on FreeBSD, it should be run by setting namedflags in
> /etc/sysconfig.  No need to go hacking /etc/rc.local for something
> that is a standard system daemon, now is there?

Under normal circumstances, I would say "yes" -- you should edit 
sysconfig and set namedflags.  But (if I remember correctly) the original 
poster was trying to do something similar to what I do, and this approach 
didn't work for me.  He wanted to run a named server over his PPP 
connection, and setting namedflags in /etc/sysconfig causes named to be 
run much earlier than ppp (which I put in /etc/rc.local).  This causes 
named to crap out when trying to contact the root nameservers.  If I put a 
call to named right after I run ppp in rc.local, then named doesn't 
complain, since ppp is enabled by then and the connection has dialed out.

I suppose I could have added a "pppflags=..." to /etc/sysconfig and 
hacked in a call to ppp in /etc/rc, but I consider hacking the 
system-default /etc/rc* file even less tasteful than putting named and 
ppp both in /etc/rc.local.

Donald Burr [], PO Box 91212, Santa Barbara CA 93190-1212
TEL (805)564-1871 / FAX 564-2315 / WWW
PGP Public Key available by request (send e-mail) or on Public Key Servers.
** Uphold your right to privacy - Use PGP. **

Want to link to this message? Use this URL: <>