From: Peter van Dijk Date: Wed, 26 Aug 2020 20:45:11 +0000 (+0200) Subject: sdig: report non-zero ID in response X-Git-Tag: rec-4.4.0-beta1~3^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bc1c4f291cd2036681ef578b092ca3802213794;p=thirdparty%2Fpdns.git sdig: report non-zero ID in response --- diff --git a/pdns/sdig.cc b/pdns/sdig.cc index 560780b63b..e6e3c71e34 100644 --- a/pdns/sdig.cc +++ b/pdns/sdig.cc @@ -105,6 +105,9 @@ static void fillPacket(vector& packet, const string& q, const string& t static void printReply(const string& reply, bool showflags, bool hidesoadetails) { MOADNSParser mdp(false, reply); + if (mdp.d_header.id) { + cout << "ID is not zero, this response was not meant for us!"<