Description: skip incoming packets with QR-bit set
Origin: upstream, http://doc.powerdns.com/powerdns-advisory-2012-01.html
Bug-Ubuntu: https://bugs.launchpad.net/bugs/918588
===================================================================
--- a/pdns/common_startup.cc
+++ b/pdns/common_startup.cc
@@ -245,6 +245,8 @@
       numreceived4++;
     else
       numreceived6++;
+    if(P->d.qr)
+      continue;
 
     S.ringAccount("queries", P->qdomain+"/"+P->qtype.getName());
     S.ringAccount("remotes",P->getRemote());
