Disabling DNS

peter at vfemail.net peter at vfemail.net
Tue Apr 20 13:57:51 UTC 2010


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 at 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 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