From: bert hubert Date: Sun, 27 Sep 2015 11:49:39 +0000 (+0200) Subject: improve logging a bit, complete move to dnsname X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~28^2~27^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9456e80159c18373a693e8a1facfc03d713fb5f;p=thirdparty%2Fpdns.git improve logging a bit, complete move to dnsname --- diff --git a/pdns/dnsbulktest.cc b/pdns/dnsbulktest.cc index 8cb18b4712..868c8bca5d 100644 --- a/pdns/dnsbulktest.cc +++ b/pdns/dnsbulktest.cc @@ -34,7 +34,7 @@ struct DNSResult struct TypedQuery { TypedQuery(const string& name_, uint16_t type_) : name(name_), type(type_){} - string name; + DNSName name; uint16_t type; }; @@ -101,6 +101,8 @@ struct SendReceive if(::send(d_socket, &*packet.begin(), packet.size(), 0) < 0) d_senderrors++; + if(!g_quiet) + cout<<"Sent out query for '"<id<id; } @@ -149,6 +151,9 @@ struct SendReceive void deliverTimeout(const Identifier& id) { + if(!g_quiet) { + cout<<"Timeout for id "<