named startup script

Wael Shahin wael.shahin at gmail.com
Tue Jun 19 12:55:35 UTC 2007


On Tue, 2007-06-19 at 12:17 +0200, Adam Tkac wrote:

> If you need really _very_ simple initscript you could use something like
> 
> #!/bin/bash
> 
> start() {
>     /usr/sbin/named -u named
> }
> stop() {
>     /usr/sbin/rndc stop
> }
> 
> 
> case "$1" in
>     start)
>        start
>        ;;
>     stop)
>        stop
>        ;;
>     *)
>        echo 'Please specify start or stop'
>        exit 1
> esac
Thanks Adam, I have tried this script and changed the paths accordingly
but the terminal went funny at me for some reason, it does not show/log
many thing and I can't type the character "S"!?,
However I am starting the named manually right now as
/usr/local/sbin/named -u named -4 -n 2


Thank you



More information about the bind-users mailing list