From owner-freebsd-questions@FreeBSD.ORG Tue Apr 20 15:38:16 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 B5926106564A for ; Tue, 20 Apr 2010 15:38:16 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 6E0898FC08 for ; Tue, 20 Apr 2010 15:38:16 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O4FWf-0008UB-BM for freebsd-questions@freebsd.org; Tue, 20 Apr 2010 17:38:13 +0200 Received: from pool-71-166-157-224.washdc.east.verizon.net ([71.166.157.224]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Apr 2010 17:38:13 +0200 Received: from nightrecon by pool-71-166-157-224.washdc.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Apr 2010 17:38:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org connect(): No such file or directory From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Tue, 20 Apr 2010 11:40 -0400 Lines: 29 Message-ID: References: <20100420122612.AF005106564A@hub.freebsd.org> <20100420135751.A236B106572D@hub.freebsd.org> <4BCDB4E1.5010202@eskk.nu> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-71-166-157-224.washdc.east.verizon.net 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 15:38:16 -0000 Leslie Jensen wrote: > On 2010-04-20 15:41, 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: [snip] > > > I would suggest that you remove both lines. > > named is off by default in /etc/defaults/rc.conf > To expand a little. The defaults mentioned here reside in /etc/defaults. The files under /etc/defaults should not be edited or changed as they can get overwritten during upgrades. The file /etc/rc.conf is designed to contain overrides to alter or change the default behaviors. It is the one to edit, not the ones under /etc/defaults. So yes, pretty much all of the suggestions will turn DNS off. You can safely delete the lines in /etc/rc.conf. Should you need to put them back in at some time in the future you can look these lines up in /etc/defaults/rc.conf, then edit /etc/rc.conf accordingly. -Mike