[svn] commit: r1289 - /trunk/src/lib/auth/data_source.cc
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Mar 10 18:15:43 UTC 2010
Author: each
Date: Wed Mar 10 18:15:43 2010
New Revision: 1289
Log:
Refuse queries for RRSIG
Modified:
trunk/src/lib/auth/data_source.cc
Modified: trunk/src/lib/auth/data_source.cc
==============================================================================
--- trunk/src/lib/auth/data_source.cc (original)
+++ trunk/src/lib/auth/data_source.cc Wed Mar 10 18:15:43 2010
@@ -481,6 +481,12 @@
while (!q.tasks().empty()) {
QueryTaskPtr task = q.tasks().front();
q.tasks().pop();
+
+ // Can't query directly for RRSIG.
+ if (task->qtype == RRType::RRSIG()) {
+ m.setRcode(Rcode::REFUSED());
+ return;
+ }
// These task types should never be on the task queue.
if (task->op == QueryTask::SIMPLE_QUERY ||
More information about the bind10-changes
mailing list