From 35d7aa0603182b73485ac371bc3b302735a4261c Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 19 May 2024 18:17:05 +0200 Subject: [PATCH] Print error when the lying resolver test fails --- dnscrypt-proxy/resolve.go | 1 + 1 file changed, 1 insertion(+) diff --git a/dnscrypt-proxy/resolve.go b/dnscrypt-proxy/resolve.go index 28edf44f..f05f9ab8 100644 --- a/dnscrypt-proxy/resolve.go +++ b/dnscrypt-proxy/resolve.go @@ -141,6 +141,7 @@ func Resolve(server string, name string, singleResolver bool) { fmt.Printf("Lying : ") response, err := resolveQuery(server, nonexistentName, dns.TypeA, false) if err != nil { + fmt.Printf("[%v]", err) break } if response.Rcode == dns.RcodeSuccess {