domains that were not parents of the query name,
causing assertion failures.
+ 331. [bug] Only log "recursion denied" if RD is set. (RT #178)
+
--- 9.0.0rc1 released ---
329. [func] omapi_auth_register() now takes a size_t argument for
* SOFTWARE.
*/
-/* $Id: client.c,v 1.98 2000/06/22 23:48:07 marka Exp $ */
+/* $Id: client.c,v 1.98.2.1 2000/07/17 17:30:11 gson Exp $ */
#include <config.h>
dns_view_t *view;
dns_rdataset_t *opt;
isc_boolean_t ra; /* Recursion available. */
+ isc_boolean_t rd; /* Recursion desired. */
REQUIRE(event != NULL);
client = event->ev_arg;
* responses to ordinary queries.
*/
ra = ISC_FALSE;
+ rd = ISC_TF((client->message->flags & DNS_MESSAGEFLAG_RD) != 0);
if (client->view->resolver != NULL &&
client->view->recursion == ISC_TRUE &&
/* XXX this will log too much too early */
ns_client_checkacl(client, "recursion",
client->view->recursionacl,
- ISC_TRUE, ISC_TRUE) == ISC_R_SUCCESS)
+ ISC_TRUE, rd) == ISC_R_SUCCESS)
ra = ISC_TRUE;
if (ra == ISC_TRUE)