From 6e30f0c1941712a788dc13f516dc9a0f1e273cb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Fri, 30 Aug 2019 11:40:42 +0200 Subject: Add an error message for udns error DNS_E_NODATA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In cases where the DNS server does not respond “domain not found” but “domain found, but no IP for that record type”, we just say “domain not found” too (instead of nothing, previously). --- src/network/resolver.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/network/resolver.cpp b/src/network/resolver.cpp index 42d6969..d9242e2 100644 --- a/src/network/resolver.cpp +++ b/src/network/resolver.cpp @@ -21,6 +21,7 @@ static std::map dns_error_messages { {DNS_E_TEMPFAIL, "Timeout while contacting DNS servers"}, {DNS_E_PROTOCOL, "Misformatted DNS reply"}, {DNS_E_NXDOMAIN, "Domain name not found"}, + {DNS_E_NODATA, "Domain name not found"}, {DNS_E_NOMEM, "Out of memory"}, {DNS_E_BADQUERY, "Misformatted domain name"} }; -- cgit v1.2.3