Bump the default timeout up

Because, yes, some networks have a lot of latency
This commit is contained in:
Frank Denis 2019-10-20 19:22:02 +02:00
parent 551ddcf199
commit 5c28950578
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ func newConfig() Config {
return Config{
LogLevel: int(dlog.LogLevel()),
ListenAddresses: []string{"127.0.0.1:53"},
Timeout: 2500,
Timeout: 5000,
KeepAlive: 5,
CertRefreshDelay: 240,
CertIgnoreTimestamp: false,

View File

@ -102,7 +102,7 @@ force_tcp = false
## How long a DNS query will wait for a response, in milliseconds
timeout = 2500
timeout = 5000
## Keepalive for HTTP (HTTPS, HTTP/2) queries, in seconds