Skip to content

Commit

Permalink
Merge pull request #237 from DopplerHQ/enabledns
Browse files Browse the repository at this point in the history
Enable use of custom DNS resolver
  • Loading branch information
Piccirello authored Jun 29, 2021
2 parents b7ca838 + efda475 commit d2d6ce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/http/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ type errorResponse struct {
}

// DNS resolver
var UseCustomDNSResolver = false
var UseCustomDNSResolver = true
var DNSResolverAddress = "1.1.1.1:53"
var DNSResolverProto = "udp"
var DNSResolverTimeout = time.Duration(5) * time.Second
Expand Down

0 comments on commit d2d6ce6

Please sign in to comment.