unbound: fix odhcpd trigger script

Read UNBOUND_TXT_DOMAIN from main unbound configuration.
This prevents records to be added into Unbound in the default 'lan' zone.

Signed-off-by: Audric Schiltknecht <storm+github@chemicalstorm.org>
This commit is contained in:
Audric Schiltknecht 2017-03-12 16:11:48 -04:00 committed by Eric Luehrsen
parent 375a5e839f
commit 0413f84f28
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ odhcpd_settings() {
local cfg="$1"
config_get UNBOUND_D_DHCP_LINK "$cfg" dhcp_link none
config_get_bool UNBOUND_B_SLAAC6_MAC "$cfg" dhcp4_slaac6 0
config_get UNBOUND_TXT_DOMAIN "$cfg" domain lan
}
##############################################################################