From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 19:38:15 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F7FE16A4CE for ; Fri, 11 Feb 2005 19:38:15 +0000 (GMT) Received: from ritamari.vonostingroup.com (ip193-230.digitalrealm.net [216.144.193.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA20B43D3F for ; Fri, 11 Feb 2005 19:38:14 +0000 (GMT) (envelope-from laszlof@tvog.net) Received: from adsl-68-72-248-38.dsl.sfldmi.ameritech.net ([68.72.248.38] helo=tvog.net) by ritamari.vonostingroup.com with esmtpa (Exim 4.44 (FreeBSD)) id 1Czgbw-000Etn-O1; Fri, 11 Feb 2005 14:37:52 -0500 Message-ID: <420D09A5.40707@tvog.net> Date: Fri, 11 Feb 2005 14:38:13 -0500 From: Frank Laszlo User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: aklist_061666 References: <00e901c51070$4ed460d0$0b01a8c0@enigmedia.net> In-Reply-To: <00e901c51070$4ed460d0$0b01a8c0@enigmedia.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ritamari.vonostingroup.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [26 6] X-AntiAbuse: Sender Address Domain - tvog.net X-Source: X-Source-Args: X-Source-Dir: cc: freebsd-questions@freebsd.org Subject: Re: Newbie: where is the startup configuration line for BIND? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Feb 2005 19:38:15 -0000 aklist_061666 wrote: > Hi All: > > I just upgraded from freebsd 5.1 to 5.3, and I want to edit the > startup parameters for named so that it reads my previous config file, > basically I want the startup parameter to be: > > /usr/sbin/named -4 -c /etc/named.conf > > But I can't find where that command string is? > > all that is in my /etc/rc.conf is "named_enable="YES" " > > I have another file called /etc/rc.conf~ which has the line: > > "named_program="/urs/sbin/named" " > > But is that file a backup file or is it actually used? > > Or do I just need to modify that line with the parameters I want it to > start up with? > > Thanks! > (14:36:08) [laszlof@ritamari ~]% grep named /etc/defaults/rc.conf <..snip..> named_enable="NO" # Run named, the DNS server (or NO). named_program="/usr/sbin/named" # path to named, if you want a different one. named_flags="-u bind" # Flags for named <..snip..> Add the approapriote lines to /etc/rc.conf and you're all set. DO NOT, I repeat, DO NOT EDIT /etc/defaults/rc.conf. put overrides for it in /etc/rc.conf. __________________________________________________ Frank Laszlo System Administrator The VonOstin Group Email: laszlof@tvog.net WWW: http://www.vonostingroup.com Mobile: 248-863-7584