From 9ab461a6ffed2ae2fe0380c30b69052db7473405 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Sat, 29 Dec 2001 05:31:26 +0000 Subject: [PATCH] 1169. [func] Identify recursive queries in the query log. --- CHANGES | 2 ++ bin/named/query.c | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 766ecfa37c..9f92d241d7 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ +1169. [func] Identify recursive queries in the query log. + 1168. [bug] Empty also-notify clauses were not handled gracefully. [RT #2309] diff --git a/bin/named/query.c b/bin/named/query.c index a70506f7d9..dac6a22670 100644 --- a/bin/named/query.c +++ b/bin/named/query.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: query.c,v 1.214 2001/11/30 01:58:47 gson Exp $ */ +/* $Id: query.c,v 1.215 2001/12/29 05:31:26 marka Exp $ */ #include @@ -3317,7 +3317,8 @@ log_query(ns_client_t *client) { dns_rdatatype_format(rdataset->type, typename, sizeof(typename)); ns_client_log(client, NS_LOGCATEGORY_QUERIES, NS_LOGMODULE_QUERY, - level, "query: %s %s %s", namebuf, classname, typename); + level, "query: %s %s %s %s", namebuf, classname, + typename, WANTRECURSION(client) ? "+" : "-"); } void