From 4a5bf3ed8cfc8da1009d65ed0e9a4925b337adaa Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 17 Oct 2019 18:33:24 +0200 Subject: [PATCH] Extra records don't necessarily need to raise a warning Proper TXT records can still be present in the response. --- dnscrypt-proxy/dnscrypt_certs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnscrypt-proxy/dnscrypt_certs.go b/dnscrypt-proxy/dnscrypt_certs.go index dd79a120..072c7136 100644 --- a/dnscrypt-proxy/dnscrypt_certs.go +++ b/dnscrypt-proxy/dnscrypt_certs.go @@ -45,7 +45,7 @@ func FetchCurrentDNSCryptCert(proxy *Proxy, serverName *string, proto string, pk for _, answerRr := range in.Answer { var txt string if t, ok := answerRr.(*dns.TXT); !ok { - dlog.Warnf("[%v] Certificate not found", providerName) + dlog.Noticef("[%v] Extra record of type [%v] found in certificate", providerName, answerRr.Header().Rrtype) continue } else { txt = strings.Join(t.Txt, "")