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:
parent
375a5e839f
commit
0413f84f28
|
@ -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
|
||||
}
|
||||
|
||||
##############################################################################
|
||||
|
|
Loading…
Reference in New Issue