From 083fa0ad3cfa2c688065165d0c0c364cc9d67474 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Mon, 7 Jun 2021 13:49:37 +0200 Subject: [PATCH] Add an extra retry since ODoH servers are currently unstable --- dnscrypt-proxy/serversInfo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnscrypt-proxy/serversInfo.go b/dnscrypt-proxy/serversInfo.go index 2b731bec..7cece0c3 100644 --- a/dnscrypt-proxy/serversInfo.go +++ b/dnscrypt-proxy/serversInfo.go @@ -835,7 +835,7 @@ func _fetchODoHTargetInfo(proxy *Proxy, name string, stamp stamps.ServerStamp, i func fetchODoHTargetInfo(proxy *Proxy, name string, stamp stamps.ServerStamp, isNew bool) (ServerInfo, error) { var err error var serverInfo ServerInfo - for i := 0; i < 2; i += 1 { + for i := 0; i < 3; i += 1 { serverInfo, err = _fetchODoHTargetInfo(proxy, name, stamp, isNew) if err == nil { break