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:
parent
2008998bf8
commit
6bd5ca722f
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue