From eebc1b30f096e53a732cdf6b2ae5900cf1394507 Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Wed, 15 Jan 2020 18:14:49 +0100 Subject: Reduce default timeout --- config.go | 2 +- zdnsrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.go b/config.go index d98d218..e6cde1e 100644 --- a/config.go +++ b/config.go @@ -71,7 +71,7 @@ func newConfig() Config { "1.0.0.1:853", } c.DNS.LogTTLString = "168h" - c.Resolver.TimeoutString = "5s" + c.Resolver.TimeoutString = "2s" c.Resolver.Protocol = "tcp-tls" return c } diff --git a/zdnsrc b/zdnsrc index 41f58b7..5e0b97e 100644 --- a/zdnsrc +++ b/zdnsrc @@ -96,7 +96,7 @@ # Set the maximum timeout of a DNS request. # -# timeout = "5s" +# timeout = "2s" # Answer queries from static hosts files. There are no default values for the # following examples. -- cgit v1.2.3