1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 10:31:51 +00:00

Increase timeout on unknown server for unbound

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-08-08 20:54:30 +02:00
parent 2008998bf8
commit 6bd5ca722f

View file

@ -236,6 +236,10 @@ if [ -z "$(grep nameserver /etc/resolv.conf)" ]; then
echo "nameserver 127.0.0.1" > /etc/resolv.conf
fi
if [ -z "$(grep unknown-server-time-limit /etc/unbound/unbound_srv.conf)" ]; then
echo "unknown-server-time-limit: 2500" > /etc/unbound/unbound_srv.conf
fi
rm -f /tmp/luci-indexcache
exit 0