aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.go2
-rw-r--r--zdnsrc2
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.