#!/bin/bash # reconfigure bind - regenerates secret keys if [ ! -f /etc/bind/rndc.key ]; then rndc-confgen -a -r /dev/urandom fi