View Single Post
  #1 (permalink)  
Old 06-09-2007, 07:33
Jenny Jenny is offline
new member
 
Join Date: May 2007
Posts: 9
Default Start/Stop/Restart DNS bind

How do I start/stop/restart DNS bind?
=>

Linux:

starting: /etc/rc.d/init.d/named start
stopping: /etc/rc.d/init.d/named stop
restarting: /etc/rc.d/init.d/named restart

FreeBSD:

For Bind 9.3 and up:

starting: /usr/local/etc/rc.d/named.sh start
stopping: /usr/local/etc/rc.d/named.sh stop
restarting: /usr/local/etc/rc.d/named.sh restart

For Bind 8.x:

starting: /usr/sbin/named -u named
stopping: /usr/sbin/ndc stop -u named
restarting: /usr/sbin/ndc restart -u named

Warning:

1]Without "-u named", the command will run under root.
2]Don't use kill -9 to stop named, as it may cause information loss!!!
Reply With Quote