Skip to content

Commit 15239cd

Browse files
committed
reduced the DNS query timeout
1 parent 5a5615c commit 15239cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/plugins/support/resolvers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ func dnsQuery(msg *dns.Msg, r *pool.Pool, attempts int) (*dns.Msg, error) {
136136
}
137137

138138
func trustedResolvers() *pool.Pool {
139-
timeout := 3 * time.Second
139+
timeout := time.Second
140140
cpus := runtime.NumCPU()
141141
// wildcard detector
142142
serv := servers.NewNameserver("8.8.8.8", timeout)

0 commit comments

Comments
 (0)