[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Re: Raq3 BIND pkg



> -----Original Message-----
> From: Jeff Lasman [mailto:jblists@xxxxxxxxxxxxx]
> Sent: Thursday, February 08, 2001 9:14 PM
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: Re: [cobalt-users] Re: Raq3 BIND pkg
> 
> 
> No such program existed on my RaQ3 until I wrote one.
> 
> Here's a copy of mine:
> 
>  #!/bin/bash
>  kill -HUP `cat /var/run/named.pid`
> 
> Be sure to mark the file executable.  To make it easier for me, I mark
> it executable, then place it into the /root directory (since 
> it must be
> run as root), then start it this way:
> 
> # ~/named.restart



Ugh... The proper way to control BIND is via:

/etc/rc.d/init.d/named stop | start | restart | status

and ndc, which provieds more precise control and flexibility.

"man ndc"

Brandon Wheaton
UNIX Systems Engineer 
ValiCert, Inc.
1215 Terra Bella Ave. 
Mountain View, CA 94043 
650.280.UNIX 

----
Sure UNIX is user friendly; it's just picky about who its friends are.