1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Try to fix DNS issue

This commit is contained in:
Ycarus (Yannick Chabanois) 2022-08-11 08:53:11 +02:00
parent bcafb1ee4d
commit 462dbc2dea
2 changed files with 20 additions and 9 deletions

View file

@ -32,7 +32,7 @@ set_ipv6_state() {
if [ "$disable_ipv6" = "1" ]; then
logger -t "omr-6in4" "Disable IPv6"
uci -q batch <<-EOF >/dev/null
set unbound.ub_main.protocol='ip4_only'
set unbound.@unbound[-1].protocol='ip4_only'
commit unbound
del_list v2ray.main.inbounds="omr6"
commit v2ray
@ -50,7 +50,7 @@ set_ipv6_state() {
set network.omr6in4.force_link=1
set network.omr6in4.metric=1
delete network.omr6in4.auto
set unbound.ub_main.protocol='mixed'
set unbound.@unbound[-1].protocol='mixed'
commit unbound
EOF
if [ "$(uci -q get network.globals.ula_prefix)" = "" ]; then