Skip to content

Commit

Permalink
fix dns
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed May 31, 2024
1 parent 90397d9 commit 4b14886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion route/router_dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func (r *Router) Lookup(ctx context.Context, domain string, strategy dns.DomainS
strategy = transportStrategy
}
dnsCtx, cancel = context.WithTimeout(dnsCtx, C.DNSTimeout)
responseAddrs, err := r.lookupStaticIP(domain, strategy)
responseAddrs, err = r.lookupStaticIP(domain, strategy)

if err == nil && responseAddrs != nil {
r.dnsLogger.DebugContext(ctx, "Static IP responsefor ", domain, " ", responseAddrs)
Expand Down

0 comments on commit 4b14886

Please sign in to comment.