parent
357c6cd4c3
commit
250591098b
|
@ -33,9 +33,7 @@ func (hub *Hub) loadResolvers() error {
|
||||||
for _, ns := range hub.Nameservers {
|
for _, ns := range hub.Nameservers {
|
||||||
if ns.Type == DOHResolver {
|
if ns.Type == DOHResolver {
|
||||||
hub.Logger.Debug("initiating DOH resolver")
|
hub.Logger.Debug("initiating DOH resolver")
|
||||||
rslvr, err := resolvers.NewDOHResolver(ns.Address, resolvers.Options{
|
rslvr, err := resolvers.NewDOHResolver(ns.Address, resolverOpts)
|
||||||
Timeout: hub.QueryFlags.Timeout * time.Second,
|
|
||||||
})
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue