This commit is contained in:
Aleksey Dmitrevskiy
2019-02-25 17:15:50 +03:00
parent 3d901a82ad
commit 86279f19b0
2 changed files with 9 additions and 7 deletions

View File

@@ -631,6 +631,7 @@ func (d *Dnsfilter) checkSafeSearch(host string) (Result, error) {
return res, nil
}
// TODO this address should be resolved with upstream that was configured in dnsforward
addrs, err := net.LookupIP(safeHost)
if err != nil {
log.Tracef("SafeSearchDomain for %s was found but failed to lookup for %s cause %s", host, safeHost, err)