From: Remi Gacogne Date: Wed, 2 Dec 2020 15:47:53 +0000 (+0100) Subject: rec: Log the exact Bogus state when 'dnssec-log-bogus' is enabled X-Git-Tag: rec-4.5.0-alpha1~93^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F9806%2Fhead;p=thirdparty%2Fpdns.git rec: Log the exact Bogus state when 'dnssec-log-bogus' is enabled --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index f3a5d17d68..b423ea4887 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -1778,7 +1778,7 @@ static void startDoResolve(void *p) if(t_bogusqueryring) t_bogusqueryring->push_back(make_pair(dc->d_mdp.d_qname, dc->d_mdp.d_qtype)); if(g_dnssecLogBogus || sr.doLog() || g_dnssecmode == DNSSECMode::ValidateForLog) { - g_log<d_mdp.d_qname<<"|"<d_mdp.d_qtype).getName()<<" for "<getRemote()<<" validates as Bogus"<d_mdp.d_qname<<"|"<d_mdp.d_qtype).getName()<<" for "<getRemote()<<" validates as "<