Disabling DNS
peter at vfemail.net
peter at vfemail.net
Mon Apr 26 16:47:41 UTC 2010
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 at 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 at 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 at freebsd.org mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list