Location of slave and dynamical updated zone files changed.

This commit is contained in:
2021-12-10 11:36:43 +01:00
parent 8a00a00ace
commit c52287ad9a
4 changed files with 25 additions and 3 deletions

View File

@@ -33,6 +33,8 @@ DEFAULT_CONF_FILE_DIR="/etc/bind"
DEFAULT_BIND_USER="bind"
DEFAULT_BIND_GROUP="bind"
DEFAULT_ZONE_FILE_SLAVE_DIR="/var/cache/bind"
DEFAULT_ZONE_FILE_SUFFIX="zone"
@@ -324,7 +326,7 @@ fi
[[ -n "$BIND_USER" ]] || BIND_USER="$DEFAULT_BIND_USER"
[[ -n "$BIND_GROUP" ]] || BIND_GROUP="$DEFAULT_BIND_GROUP"
[[ -n "$ZONE_FILE_SLAVE_DIR" ]] || ZONE_FILE_SLAVE_DIR="${CONF_FILE_DIR}/slave"
[[ -n "$ZONE_FILE_SLAVE_DIR" ]] || ZONE_FILE_SLAVE_DIR="$DEFAULT_ZONE_FILE_SLAVE_DIR"
[[ -n "$ZONE_FILE_SUFFIX" ]] || ZONE_FILE_SUFFIX="$DEFAULT_ZONE_FILE_SUFFIX"
if [[ -z "$DKIM_DNS_MASTER" ]] ; then