fixed debug log (ParallelResolve)

pull/3/head
bloved 2021-11-08 15:46:36 +01:00
parent d84cc29392
commit fa60f84fc9
1 changed files with 3 additions and 1 deletions

View File

@ -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)
}