summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dns.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dns.cpp b/src/dns.cpp
index d7f7b9697..0ac03cfb6 100644
--- a/src/dns.cpp
+++ b/src/dns.cpp
@@ -461,7 +461,7 @@ DNSInfo dns_connection::result_ready(dns_header &header, int length)
return std::make_pair((unsigned char*)NULL,"Unexpected value in DNS reply packet");
if (header.flags2 & FLAGS_MASK_RCODE)
- return std::make_pair((unsigned char*)NULL,"Internal server error (SERVFAIL)");
+ return std::make_pair((unsigned char*)NULL,"Domain name not found");
if (header.ancount < 1)
return std::make_pair((unsigned char*)NULL,"No resource records returned");