forked from loweel/zabov
fixed debug log (ParallelResolve)
parent
d84cc29392
commit
fa60f84fc9
|
@ -46,7 +46,9 @@ func ParallelResolve(query *dns.Msg, config string, lfqdn string) *dns.Msg {
|
||||||
dnss := oneTimeDNS(config, ZabovConfigs[config].ZabovParallelQueries)
|
dnss := oneTimeDNS(config, ZabovConfigs[config].ZabovParallelQueries)
|
||||||
|
|
||||||
for _, d := range dnss {
|
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)
|
go SingleResolve(query, d, lfqdn, ch)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue