unbound: expand UCI support for odhcpd DHCP-DNS

This is bare minimum change in 'unbound.sh' and
'dnsmasq.sh' to migrate the UCI option set for
more flexibility. The boolean(s) to link to
dnsmasq are being changed to a state to include
odhcpd. It is executable but a small step for
clear change management.

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
This commit is contained in:
Eric Luehrsen
2017-01-07 14:19:22 -05:00
parent c7684b9f70
commit 89e7bb8f38
2 changed files with 107 additions and 36 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ dnsmasq_link() {
####################
if [ "$UNBOUND_B_DNSMASQ" -gt 0 ] ; then
if [ "$UNBOUND_D_DHCP_LINK" = "dnsmasq" ] ; then
# Forward to dnsmasq on same host for DHCP lease hosts
echo " do-not-query-localhost: no" >> $UNBOUND_CONFFILE
# Look at dnsmasq settings