From owner-freebsd-questions Wed Feb 14 02:38:50 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA09089 for questions-outgoing; Wed, 14 Feb 1996 02:38:50 -0800 (PST) Received: from starfleet.gov (root@sba-ca1-02.ix.netcom.com [204.32.201.34]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id CAA09058 for ; Wed, 14 Feb 1996 02:38:29 -0800 (PST) Received: (from d_burr@localhost) by starfleet.gov (8.6.11/8.6.9) id CAA00364; Wed, 14 Feb 1996 02:37:24 -0800 Date: Wed, 14 Feb 1996 02:37:23 -0800 (PST) From: Donald Burr X-Sender: d_burr@starfleet.gov To: Barnacle Wes cc: questions@freebsd.org Subject: Re: DNS and Bind on FreeBSD. In-Reply-To: <199602140509.WAA20574@intele.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk 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 [d_burr@ix.netcom.com], PO Box 91212, Santa Barbara CA 93190-1212 TEL (805)564-1871 / FAX 564-2315 / WWW http://www.geopages.com/WallStreet/2072 PGP Public Key available by request (send e-mail) or on Public Key Servers. ** Uphold your right to privacy - Use PGP. **