1
0
Fork 0
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:
Ycarus 2018-06-11 14:16:47 +02:00
parent 40a05d4054
commit acea842fbd

View file

@ -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