After filters were redownloaded and deemed to be fresh, tell coredns server to reload
This commit is contained in:
parent
876854d403
commit
fe397943d6
|
@ -851,6 +851,7 @@ func refreshFiltersIfNeccessary() int {
|
||||||
errortext := fmt.Sprintf("Couldn't write filter file: %s", err)
|
errortext := fmt.Sprintf("Couldn't write filter file: %s", err)
|
||||||
log.Println(errortext)
|
log.Println(errortext)
|
||||||
}
|
}
|
||||||
|
tellCoreDNSToReload()
|
||||||
}
|
}
|
||||||
return updateCount
|
return updateCount
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue