mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-03-03 18:04:40 +01:00
Print error when the lying resolver test fails
This commit is contained in:
parent
8dadd61730
commit
35d7aa0603
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue