Browse Source

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>
lilik-openwrt-22.03
Audric Schiltknecht 8 years ago
committed by Eric Luehrsen
parent
commit
8f9479f433
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      net/unbound/files/odhcpd.sh

+ 1
- 0
net/unbound/files/odhcpd.sh 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
}
##############################################################################


Loading…
Cancel
Save