]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - pdns/recursordist/rpzloader.cc
Add test, only clear cache if the notify wasn't for an RPZ
[thirdparty/pdns.git] / pdns / recursordist / rpzloader.cc
index 5f835969c61c029329b88646410332deed028a05..c5e1036a9e099c5aa280396317c2d0570047d69c 100644 (file)
@@ -564,7 +564,7 @@ static bool RPZTrackerIteration(RPZTrackerParams& params, const DNSName& zoneNam
         if (resourceRecord.d_type == QType::SOA) {
           auto oldsr = getRR<SOARecordContent>(resourceRecord);
           if (oldsr && oldsr->d_st.serial == currentSR->d_st.serial) {
-            //     cout<<"Got good removal of SOA serial "<<oldsr->d_st.serial<<endl;
+            // Got good removal of SOA serial, no work to be done
           }
           else {
             if (!oldsr) {
@@ -587,7 +587,6 @@ static bool RPZTrackerIteration(RPZTrackerParams& params, const DNSName& zoneNam
         }
         if (resourceRecord.d_type == QType::SOA) {
           auto tempSR = getRR<SOARecordContent>(resourceRecord);
-          //     g_log<<Logger::Info<<"New SOA serial for "<<zoneName<<": "<<currentSR->d_st.serial<<endl;
           if (tempSR) {
             currentSR = std::move(tempSR);
           }