mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-03 13:17:37 +03: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 : ")
|
fmt.Printf("Lying : ")
|
||||||
response, err := resolveQuery(server, nonexistentName, dns.TypeA, false)
|
response, err := resolveQuery(server, nonexistentName, dns.TypeA, false)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
fmt.Printf("[%v]", err)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
if response.Rcode == dns.RcodeSuccess {
|
if response.Rcode == dns.RcodeSuccess {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue