better logging, note

This commit is contained in:
Ryan Tharp 2018-09-20 03:06:24 -07:00
parent 2bdee7d528
commit d7e4cb483f
2 changed files with 2 additions and 2 deletions

View File

@ -166,7 +166,7 @@ writesend_dnss_response(struct sockaddr *hostRes, const struct sockaddr *from,
// llarp::LogInfo("from ", test); // llarp::LogInfo("from ", test);
if(!hostRes) if(!hostRes)
{ {
llarp::LogWarn("Failed to resolve"); llarp::LogWarn("Failed to resolve ", request->question.name);
write404_dnss_response(from, request); write404_dnss_response(from, request);
return; return;
} }

View File

@ -53,7 +53,7 @@ struct dnsd_context
{ {
/// DNS daemon socket to listen on /// DNS daemon socket to listen on
struct llarp_udp_io udp; struct llarp_udp_io udp;
/// for timers (MAYBEFIXME? maybe we decouple this) /// for timers (MAYBEFIXME? maybe we decouple this, yes pls have a generic passed in)
struct llarp_logic *logic; struct llarp_logic *logic;
/// tracker /// tracker
struct dns_tracker *tracker; struct dns_tracker *tracker;