]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1169. [func] Identify recursive queries in the query log.
authorMark Andrews <marka@isc.org>
Sat, 29 Dec 2001 05:31:26 +0000 (05:31 +0000)
committerMark Andrews <marka@isc.org>
Sat, 29 Dec 2001 05:31:26 +0000 (05:31 +0000)
CHANGES
bin/named/query.c

diff --git a/CHANGES b/CHANGES
index 766ecfa37c0fcb6e8d220d26ce14d5633a575308..9f92d241d7ed12830651a1cbb39a6d3db7ac6f62 100644 (file)
--- 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]
 
index a70506f7d969c7a3ecfaaf03a256aa2e5795940f..dac6a226708f0f2f1d4ea082dc8a1045ba2658e6 100644 (file)
@@ -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 <config.h>
 
@@ -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