From 8f9479f433903a0cedb9ec2cec509b6af83c5c08 Mon Sep 17 00:00:00 2001 From: Audric Schiltknecht Date: Sun, 12 Mar 2017 16:11:48 -0400 Subject: [PATCH] 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 --- net/unbound/files/odhcpd.sh | 1 + 1 file changed, 1 insertion(+) 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 } ##############################################################################