SLOG(g_log << Logger::Notice << RecThreadInfo::id() << " got NOTIFY for " << qname.toLogString() << " from " << source.toStringWithPort() << (source != fromaddr ? " (via " + fromaddr.toStringWithPort() + ")" : "") << endl,
g_slogudpin->info(Logr::Notice, "Got NOTIFY", "source", Logging::Loggable(source), "remote", Logging::Loggable(fromaddr), "qname", Logging::Loggable(qname)));
}
- notifyRPZTracker(qname);
- requestWipeCaches(qname);
+ if (!notifyRPZTracker(qname)) {
+ // It wasn't an RPZ
+ requestWipeCaches(qname);
+ }
// the operation will now be treated as a Query, generating
// a normal response, as the rest of the code does not