Search Again:

Re: Maybe OT: OSX Terminal command to restart BIND?

From: Men & Mice Support
Date: Friday, February 15, 2002
Time: 10:43:40 am

For BIND 8, use the 'ndc' command. This will usually work:

ndc reload zone.name

This will cause the server to reload only that one zone, without
affecting the server's cache or any other zones.

For BIND 9, use the 'rndc' command. Last time I checked (BIND 9.1.3,
as I recall), the 'reload' option to rndc had not yet been
implemented. So you might have to use something like this:

rndc stop
rndc start

Does anybody know which version of BIND Apple includes? I don't have
a convenient way of checking, since all my Mac OS X machines have
QuickDNS Server installed.
____________________________________________________________________
Chris Buxton Men & Mice
support@menandmice.com Making DNS Easy

At 2:41 PM +0000 2/15/02, Steve Linford wrote:
>Sorry if this is OT. One of our OSX servers uses BIND because we
>have a Cron script that builds a DNS-based spam blocklist every hour
>as a BIND zone. The script should tell BIND to reload the zone each
>time, but it seems to not be doing it correctly - I keep having to
>go in with Wembin and manually restart BIND. Does anyone happen to
>know the syntax to restart BIND from within the Terminal (or from a
>perl script)?
>
>--
> Steve Linford
> Chief Bandit
> Ultradesign Xtreme Network
> http://www.uxn.com




Messages In This Thread:



Return to Digital Point Solutions' Home Page