mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +00:00
Remove prefetch DNS
This commit is contained in:
parent
40a05d4054
commit
acea842fbd
1 changed files with 0 additions and 7 deletions
|
@ -6,13 +6,6 @@ if [ "$(uci -q get unbound.@unbound[0].listen_port | grep 5353)" = "" ]; then
|
|||
set unbound.@unbound[-1].protocol="ip4_only"
|
||||
set unbound.@unbound[-1].enabled=1
|
||||
set unbound.@unbound[-1].recursion="aggressive"
|
||||
set unbound.@unbound[-1].prefetch_root=1
|
||||
commit unbound
|
||||
EOF
|
||||
fi
|
||||
if [ "$(uci -q get unbound.@unbound[0].prefetch_root)" = "" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set unbound.@unbound[-1].prefetch_root=1
|
||||
commit unbound
|
||||
EOF
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue