From owner-freebsd-questions@FreeBSD.ORG Tue Apr 20 14:12:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7C8B106566C for ; Tue, 20 Apr 2010 14:12:24 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 63D818FC26 for ; Tue, 20 Apr 2010 14:12:24 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id o3KEC1Zp059784; Tue, 20 Apr 2010 10:12:01 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id o3KEC1od059783; Tue, 20 Apr 2010 10:12:01 -0400 (EDT) (envelope-from jerrymc) Date: Tue, 20 Apr 2010 10:12:01 -0400 From: Jerry McAllister To: peter@vfemail.net Message-ID: <20100420141201.GA59754@gizmo.acns.msu.edu> References: <20100420122612.AF005106564A@hub.freebsd.org> <20100420135751.A236B106572D@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100420135751.A236B106572D@hub.freebsd.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Disabling DNS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2010 14:12:24 -0000 On Tue, Apr 20, 2010 at 09:41:32AM -0400, peter@vfemail.net wrote: > > I can change named_enable="YES" to named_enable="NO" in the /etc/rc.conf file. Should I delete the following line from the /etc/rc.conf file that says: > > named_flags="-u bind -g bind" > > or is it fine to leave it? You could comment them out and leave them there for future reference. ////jerry > > ------- > > At 08:43 AM 4/20/2010, Michael Powell wrote: > >peter@vfemail.net wrote: > > > >> > >> I have a FreeBSD server that, among other things, used to provide DNS for > >> a handful of domain names and a small network. All DNS is now provided by > >> new machines. On the old machine, DNS starts when the machine boots, and > >> bind continues to run lots of useless named and named-xfer processes > >> throughout the day. How do I turn off the DNS processes on the old > >> machine and stop it from starting every time the machine boots? > >> > > > >Look for named_enable="YES" in /etc/rc.conf and change the "YES" to "NO". > >This is for the standard built-in Bind. If some other way to start has been > >scripted manually, in say /etc/rc.local you'll need to look there. The third > >possibility is if some add on version from ports has been installed the > >start up script location should be in /usr/local/etc/rc.d - if this is the > >case and it utilizes the standard rc.subr startup system the first thing > >mentioned above should have taken care of it. If there is some other kind of > >manually created hard-coded script in /etc/local/etc/rc.d it will either > >need to be deleted or chmod to not execute. > > > >-Mike > > > > > > > >_______________________________________________ > >freebsd-questions@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"