From owner-freebsd-questions@FreeBSD.ORG Tue Apr 20 13:57:51 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 A236B106572D for ; Tue, 20 Apr 2010 13:57:50 +0000 (UTC) (envelope-from peter@vfemail.net) Received: from vfemail.net (dotsevenfive.vfemail.net [69.11.239.75]) by mx1.freebsd.org (Postfix) with ESMTP id 455C58FC14 for ; Tue, 20 Apr 2010 13:57:49 +0000 (UTC) Received: (qmail 99922 invoked by uid 89); 20 Apr 2010 13:56:50 -0000 Received: from localhost (HELO freequeue.vfemail.net) (127.0.0.1) by localhost with SMTP; 20 Apr 2010 13:56:50 -0000 Received: (qmail 99873 invoked by uid 89); 20 Apr 2010 13:56:32 -0000 Received: from unknown (HELO www-52-2.vfemail.net) (vfemail@172.16.100.52) by FreeQueue with SMTP; 20 Apr 2010 13:56:32 -0000 Received: (qmail 2763 invoked by uid 89); 20 Apr 2010 13:57:32 -0000 Received: by simscan 1.4.0 ppid: 2730, pid: 2734, t: 0.1556s scanners:none Received: from unknown (HELO Bacchus.vfemail.net) (cGV0ZXJAdmZlbWFpbC5uZXQ=@67.101.12.44) by 172.16.100.52 with ESMTPA; 20 Apr 2010 13:57:32 -0000 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Tue, 20 Apr 2010 09:41:32 -0400 To: freebsd-questions@freebsd.org From: peter@vfemail.net In-Reply-To: References: <20100420122612.AF005106564A@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-Id: <20100420135751.A236B106572D@hub.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 13:57:51 -0000 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? ------- 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"