mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix DNS config
This commit is contained in:
parent
a12f74df7f
commit
5a64d743d1
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ if [ "$(uci -q get dhcp.lan.dhcp_options)" = "" ]; then
|
|||
EOF
|
||||
fi
|
||||
|
||||
if [ -n "$(uci -q dhcp.@dnsmasq[0].server | grep 127.0.0.1)" ] && [ -z "$(uci -q dhcp.@dnsmasq[0].server | grep 127.0.0.1#5353)" ]; then
|
||||
if [ -n "$(uci -q get dhcp.@dnsmasq[0].server | grep 127.0.0.1)" ] && [ -z "$(uci -q get dhcp.@dnsmasq[0].server | grep 127.0.0.1#5353)" ]; then
|
||||
/etc/init.d/https-dns-proxy start
|
||||
/etc/init.d/https-dns-proxy enable
|
||||
else
|
||||
|
@ -59,7 +59,7 @@ fi
|
|||
# commit unbound
|
||||
#EOF
|
||||
|
||||
if [ -z "$(uci -q unbound.auth_icann)" ]; then
|
||||
if [ -z "$(uci -q show unbound.auth_icann)" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set unbound.auth_icann=zone
|
||||
set unbound.auth_icann.fallback='1'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue