mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-29 09:59:08 -04:00
1313. [func] Query log now says if the query was signed (S) or
if EDNS was used (E).
This commit is contained in:
parent
be1078018a
commit
9bc39842bb
2 changed files with 8 additions and 3 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
1313. [func] Query log now says if the query was signed (S) or
|
||||
if EDNS was used (E).
|
||||
|
||||
1312. [func] Log TSIG key used w/ outgoing zone transfers.
|
||||
|
||||
1309. [func] Log that a zone transfer was covered by a TSIG.
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: query.c,v 1.198.2.13.4.5 2003/08/14 02:34:13 marka Exp $ */
|
||||
/* $Id: query.c,v 1.198.2.13.4.6 2003/08/15 03:22:42 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -3313,8 +3313,10 @@ 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 %s", namebuf, classname,
|
||||
typename, WANTRECURSION(client) ? "+" : "-");
|
||||
level, "query: %s %s %s %s%s%s", namebuf, classname,
|
||||
typename, WANTRECURSION(client) ? "+" : "-",
|
||||
(client->signer != NULL) ? "S": "",
|
||||
(client->opt != NULL) ? "E" : "");
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in a new issue