mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
1333. [func] Query log now says if the query was signed (S) or
if EDNS was used (E).
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
|||||||
|
1333. [func] Query log now says if the query was signed (S) or
|
||||||
|
if EDNS was used (E).
|
||||||
|
|
||||||
1332. [func] Log TSIG key used w/ outgoing zone transfers.
|
1332. [func] Log TSIG key used w/ outgoing zone transfers.
|
||||||
|
|
||||||
1331. [bug] lwres_getrrsetbyname leaked memory. [RT #3159]
|
1331. [bug] lwres_getrrsetbyname leaked memory. [RT #3159]
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: query.c,v 1.220 2002/06/17 04:01:08 marka Exp $ */
|
/* $Id: query.c,v 1.221 2002/06/25 04:12:51 marka Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@@ -3251,8 +3251,10 @@ log_query(ns_client_t *client) {
|
|||||||
dns_rdatatype_format(rdataset->type, typename, sizeof(typename));
|
dns_rdatatype_format(rdataset->type, typename, sizeof(typename));
|
||||||
|
|
||||||
ns_client_log(client, NS_LOGCATEGORY_QUERIES, NS_LOGMODULE_QUERY,
|
ns_client_log(client, NS_LOGCATEGORY_QUERIES, NS_LOGMODULE_QUERY,
|
||||||
level, "query: %s %s %s %s", namebuf, classname,
|
level, "query: %s %s %s %s%s%s", namebuf, classname,
|
||||||
typename, WANTRECURSION(client) ? "+" : "-");
|
typename, WANTRECURSION(client) ? "+" : "-",
|
||||||
|
(client->signer != NULL) ? "S": "",
|
||||||
|
(client->opt != NULL) ? "E" : "");
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Reference in New Issue
Block a user