Explicitly declare associative arrays in config

This commit is contained in:
2025-08-07 00:37:15 +02:00
parent 0c3bdd8b13
commit dcaab35d94

View File

@@ -36,13 +36,13 @@
#DNS_IP="127.0.0.1" #DNS_IP="127.0.0.1"
# #
# Asociative array of paths to key files (TSIG) per view used for zone transfers # Associative array of paths to key files (TSIG) per view used for zone transfers
# and DDNS updates. This option mandatory when using views other than the default view. # and DDNS updates. This option mandatory when using views other than the default view.
# The keys have to be in one of these forms: # The keys have to be in one of these forms:
# - VIEW # - VIEW
# - ZONE@VIEW # - ZONE@VIEW
# #
#DNS_KEYS=( #declare -A DNS_KEYS=(
# [_default]="/etc/bind/rndc.key" # [_default]="/etc/bind/rndc.key"
#) #)
@@ -68,7 +68,7 @@
# The detour via CONFDIR is necessary because Bind does not support wildcards when # The detour via CONFDIR is necessary because Bind does not support wildcards when
# including config files. # including config files.
# #
#BASE_CONFIG=( #declare -A BASE_CONFIG=(
# [_default]="/etc/bind/dyn:/etc/dns-manager/default.zones:/etc/bind/default_zones.conf" # [_default]="/etc/bind/dyn:/etc/dns-manager/default.zones:/etc/bind/default_zones.conf"
#) #)