aboutsummaryrefslogtreecommitdiff
path: root/src/or/dns.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-11-16 09:30:19 -0500
committerNick Mathewson <nickm@torproject.org>2017-11-16 09:30:19 -0500
commit2a98fcb84859a8dfadf1c3430b901f0d8e6b3f06 (patch)
tree1fdb2c0d8dcac00f63154e2157672ee5d671e67a /src/or/dns.c
parent56b7407a9096eeed8af1b45bda5a149e7ffabb2c (diff)
downloadtor-2a98fcb84859a8dfadf1c3430b901f0d8e6b3f06.tar.gz
tor-2a98fcb84859a8dfadf1c3430b901f0d8e6b3f06.zip
Downgrade evdns warnings about weird replies.
evdns is allowed to give us unrecognized object types; it is allowed to give us non-IPv4 answer types, and it is (even) allowed to give us empty answers without an error. Closes ticket 24097.
Diffstat (limited to 'src/or/dns.c')
-rw-r--r--src/or/dns.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/dns.c b/src/or/dns.c
index 4194a29a6b..7dc3575f53 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -1578,10 +1578,11 @@ evdns_callback(int result, char type, int count, int ttl, void *addresses,
escaped_safe_str(hostname));
tor_free(escaped_address);
} else if (count) {
- log_warn(LD_EXIT, "eventdns returned only non-IPv4 answers for %s.",
+ log_info(LD_EXIT, "eventdns returned only unrecognized answer types "
+ " for %s.",
escaped_safe_str(string_address));
} else {
- log_warn(LD_BUG, "eventdns returned no addresses or error for %s!",
+ log_info(LD_EXIT, "eventdns returned no addresses or error for %s.",
escaped_safe_str(string_address));
}
}