Table of Contents

NAME

bouncedns - scheduled restart of named

SYNOPSIS

bouncedns start
bouncedns [reload] [-f]

DESCRIPTION

This script can be run regularly to check if a restart or reload of named has been requested.

The first command line causes it to look for the flag file named by the variable NDBOUNCE, DNS_DIR/.restart_dns or DNS_DIR/.reload_dns and if present performs the appropriate action. If the flag file contains the word reload that is the action, otherwise it is restart.

If the first arg is -f or force it performs the action immediately after ensuring that the flags file has been removed. The .reload_dns flag file is alway removed, the restart.

If run with no arg it simply creates the flag file.

FILES

DNS_DIR/.bounce_dns
bounce flag
DNS_DIR/.reload_dns
reload flag
/etc/rc_d/named
named start/stop script

AUTHOR

Simon J. Gerraty <sjg@crufty.net>


Table of Contents