mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix for DoH
This commit is contained in:
parent
d40c1f796a
commit
71c34470b3
1 changed files with 5 additions and 2 deletions
|
@ -42,9 +42,12 @@ fi
|
|||
|
||||
if [ "$(uci -q get https-dns-proxy.@https-dns-proxy[0].listen_port)" = "5053" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
delete https-dns-proxy.@https-dns-proxy[0]
|
||||
delete https-dns-proxy.@https-dns-proxy[1]
|
||||
delete https-dns-proxy.@https-dns-proxy[-1]
|
||||
delete https-dns-proxy.@https-dns-proxy[-1]
|
||||
commit https-dns-proxy
|
||||
EOF
|
||||
# /etc/init.d/https-dns-proxy stop
|
||||
# /etc/init.d/https-dns-proxy disable
|
||||
# set https-dns-proxy.@https-dns-proxy[-1]=https-dns-proxy
|
||||
# set https-dns-proxy.@https-dns-proxy[-1].listen_addr='127.0.0.1'
|
||||
# set https-dns-proxy.@https-dns-proxy[-1].user='nobody'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue