unbound: flush negative and bogus at update forwarders

this resolves problems that negative answers from
a forwarder was still used after setting new servers.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2017-08-30 10:35:32 +02:00
parent 68fac98a5b
commit 391e3390ef

View File

@@ -523,6 +523,9 @@ case "$1" in
update_forwarders
unbound-control flush_negative > /dev/null
unbound-control flush_bogus > /dev/null
fix_time_if_dns_fail
;;