Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Apr 2010 12:46:55 -0400
From:      peter@vfemail.net
To:        freebsd-questions@freebsd.org
Subject:   Re: Disabling DNS
Message-ID:  <20100426164741.867C1106566B@hub.freebsd.org>
In-Reply-To: <20100420163131.973941065670@hub.freebsd.org>
References:  <20100420122612.AF005106564A@hub.freebsd.org> <hqk7dv$45s$1@dough.gmane.org> <20100420135751.A236B106572D@hub.freebsd.org> <4BCDB4E1.5010202@eskk.nu> <hqkhor$fn5$1@dough.gmane.org> <20100420163131.973941065670@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

I overlooked something significant after disabling our old DNS server.  I neglected to update the /etc/resolv.conf file to specify the IP address of a valid nameserver.  

-------

At 11:53 AM 4/20/2010, peter@vfemail.net wrote:

>Super!  Thank you.  
>
>-------
>
>At 11:40 AM 4/20/2010, Michael Powell wrote:
>>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
>>
>>
>>
>>_______________________________________________
>>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"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100426164741.867C1106566B>