From: Miod Vallat Date: Thu, 3 Apr 2025 12:55:23 +0000 (+0200) Subject: Log, at debug level, DNS packet parse errors. X-Git-Tag: dnsdist-2.0.0-alpha2~64^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8bf83c097661abb0d624a14e5e096dc45d26de73;p=thirdparty%2Fpdns.git Log, at debug level, DNS packet parse errors. Fixes #14513 --- diff --git a/pdns/dnspacket.cc b/pdns/dnspacket.cc index 6aaf755c8e..fc86f4f6be 100644 --- a/pdns/dnspacket.cc +++ b/pdns/dnspacket.cc @@ -658,6 +658,7 @@ try return 0; } catch(std::exception& e) { + g_log << Logger::Debug << "Parse error in packet from " << getRemoteString() << ": " << e.what() << endl; return -1; }