After filters were redownloaded and deemed to be fresh, tell coredns server to reload

This commit is contained in:
Eugene Bujak 2018-09-06 02:09:05 +03:00
parent 876854d403
commit fe397943d6
1 changed files with 1 additions and 0 deletions

View File

@ -851,6 +851,7 @@ func refreshFiltersIfNeccessary() int {
errortext := fmt.Sprintf("Couldn't write filter file: %s", err)
log.Println(errortext)
}
tellCoreDNSToReload()
}
return updateCount
}