From: Audric Schiltknecht Date: Sun, 12 Mar 2017 20:11:48 +0000 (-0400) Subject: unbound: fix odhcpd trigger script X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=8f9479f433903a0cedb9ec2cec509b6af83c5c08;p=openwrt-packages.git 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 --- diff --git a/net/unbound/files/odhcpd.sh b/net/unbound/files/odhcpd.sh index 2fc64ab40..22a470b4c 100644 --- a/net/unbound/files/odhcpd.sh +++ b/net/unbound/files/odhcpd.sh @@ -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 } ##############################################################################