- bind_set_new_serial.sh, bind_set_renew_tlsa.sh: redesign code, add configuration file support

- Add 'script bind_rndc_sync_clean.sh'.
- bind_get_domain_by_hostname.sh: minor changes at code order.
- Adjust sample configuration file 'bind.conf.sample'.
This commit is contained in:
2017-08-03 23:39:28 +02:00
parent 3b0b759850
commit 5057d983bf
5 changed files with 817 additions and 142 deletions

View File

@@ -5,6 +5,15 @@ conf_file="${working_dir}/conf/bind.conf"
log_file="$(mktemp)"
#---------------------------------------
#-----------------------------
# Setting Defaults
#-----------------------------
#---------------------------------------
DEFAULT_CONF_FILE_DIR="/etc/bind"
#---------------------------------------
#-----------------------------
# Base Function(s)
@@ -138,15 +147,6 @@ if [[ -z "$hostname" ]] ; then
fi
#---------------------------------------
#-----------------------------
# Setting Defaults
#-----------------------------
#---------------------------------------
DEFAULT_CONF_FILE_DIR="/etc/bind"
#---------------------------------------
#-----------------------------