mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +00:00
Add canary domain to disable DOH for firefox, needed for OMR-ByPass
This commit is contained in:
parent
337ae3c26d
commit
8cf0fbb42e
1 changed files with 8 additions and 0 deletions
|
@ -12,10 +12,18 @@ if [ "$(uci -q get openmptcprouter.latest_versions)" = "" ]; then
|
||||||
if [ "$(uci -q show dhcp | grep 127.0.0.1#5353)" = "" ]; then
|
if [ "$(uci -q show dhcp | grep 127.0.0.1#5353)" = "" ]; then
|
||||||
uci -q batch <<-EOF >/dev/null
|
uci -q batch <<-EOF >/dev/null
|
||||||
add_list dhcp.@dnsmasq[-1].server="127.0.0.1#5353"
|
add_list dhcp.@dnsmasq[-1].server="127.0.0.1#5353"
|
||||||
|
add_list dhcp.@dnsmasq[-1].server="/use-application-dns.net/"
|
||||||
commit dhcp
|
commit dhcp
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
if [ "$(uci -q show dhcp | grep 'use-application-dns.net'" = "" ]; then
|
||||||
|
uci -q batch <<-EOF >/dev/null
|
||||||
|
add_list dhcp.@dnsmasq[-1].server="/use-application-dns.net/"
|
||||||
|
commit dhcp
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$(uci -q get dhcp.@dnsmasq[0].rebind_domain)" = "" ]; then
|
if [ "$(uci -q get dhcp.@dnsmasq[0].rebind_domain)" = "" ]; then
|
||||||
uci -q batch <<-EOF >/dev/null
|
uci -q batch <<-EOF >/dev/null
|
||||||
set dhcp.@dnsmasq[-1].noresolv=1
|
set dhcp.@dnsmasq[-1].noresolv=1
|
||||||
|
|
Loading…
Reference in a new issue