]> git.ipfire.org Git - people/mlorenz/ipfire-2.x.git/commitdiff
unbound: flush negative and bogus at update forwarders
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 30 Aug 2017 08:35:32 +0000 (10:35 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 30 Aug 2017 17:00:40 +0000 (19:00 +0200)
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>
src/initscripts/system/unbound

index 00023ef23d45fbb1adb4626dae882bab13fa92e6..e5554d725420727c21f841ccb59e0a23564d44a1 100644 (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
                ;;