diff --git a/dnscrypt-proxy/config.go b/dnscrypt-proxy/config.go index c94f5f1c..c48e2d5a 100644 --- a/dnscrypt-proxy/config.go +++ b/dnscrypt-proxy/config.go @@ -106,7 +106,7 @@ func newConfig() Config { TLSDisableSessionTickets: false, TLSCipherSuite: nil, NetprobeAddress: "9.9.9.9:53", - NetprobeTimeout: 30, + NetprobeTimeout: 60, OfflineMode: false, } } @@ -192,7 +192,7 @@ func ConfigLoad(proxy *Proxy, svcFlag *string) error { check := flag.Bool("check", false, "check the configuration file and exit") configFile := flag.String("config", DefaultConfigFileName, "Path to the configuration file") child := flag.Bool("child", false, "Invokes program as a child process") - netprobeTimeoutOverride := flag.Int("netprobe-timeout", 30, "Override the netprobe timeout") + netprobeTimeoutOverride := flag.Int("netprobe-timeout", 60, "Override the netprobe timeout") flag.Parse() diff --git a/dnscrypt-proxy/example-dnscrypt-proxy.toml b/dnscrypt-proxy/example-dnscrypt-proxy.toml index 14c19564..4e093e2a 100644 --- a/dnscrypt-proxy/example-dnscrypt-proxy.toml +++ b/dnscrypt-proxy/example-dnscrypt-proxy.toml @@ -190,7 +190,7 @@ ignore_system_dns = false ## connectivity is not guaranteed to be immediately available. ## Use 0 to disable. -netprobe_timeout = 30 +netprobe_timeout = 60 ## Offline mode - Do not use any remote encrypted servers.