aboutsummaryrefslogtreecommitdiff
path: root/net/unbound/files
diff options
context:
space:
mode:
authorAudric Schiltknecht <storm+github@chemicalstorm.org>2017-03-12 16:11:48 -0400
committerEric Luehrsen <ericluehrsen@hotmail.com>2017-03-12 22:39:21 -0400
commit8f9479f433903a0cedb9ec2cec509b6af83c5c08 (patch)
treeca5a2f8a2425a0886e7e94d46f25840552a639a9 /net/unbound/files
parent125e8b59fa8cb849b62bed2a6469bebc8a5c9f25 (diff)
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>
Diffstat (limited to 'net/unbound/files')
-rw-r--r--net/unbound/files/odhcpd.sh1
1 files changed, 1 insertions, 0 deletions
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
}
##############################################################################