Browse Source

fixed debug log (ParallelResolve)

master
bloved 2 months ago
parent
commit
fa60f84fc9
  1. 4
      dns_client.go

4
dns_client.go

@ -46,7 +46,9 @@ func ParallelResolve(query *dns.Msg, config string, lfqdn string) *dns.Msg {
dnss := oneTimeDNS(config, ZabovConfigs[config].ZabovParallelQueries)
for _, d := range dnss {
log.Println("ParallelResolve: running SingleResolve on:", d, lfqdn)
if ZabovDebug {
log.Println("ParallelResolve: running SingleResolve on:", d, lfqdn)
}
go SingleResolve(query, d, lfqdn, ch)
}

Loading…
Cancel
Save