diff options
Diffstat (limited to 'extra/bind/01-fix-forgotten-log.patch')
-rw-r--r-- | extra/bind/01-fix-forgotten-log.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/extra/bind/01-fix-forgotten-log.patch b/extra/bind/01-fix-forgotten-log.patch new file mode 100644 index 000000000..a9af283d5 --- /dev/null +++ b/extra/bind/01-fix-forgotten-log.patch @@ -0,0 +1,41 @@ +# https://lists.isc.org/pipermail/bind-users/2014-May/093124.html +From 73a2c0ec42c0915bde0275c81861f57645daf683 Mon Sep 17 00:00:00 2001 +From: Tony Finch <dot@dotat.at> +Date: Thu, 28 Nov 2013 17:23:57 +0000 +Subject: [PATCH] Disable XXXMPA verbose packet logging in EDNS fallback code. + +--- + lib/dns/resolver.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c +index 11c805f..e50071e 100644 +--- a/lib/dns/resolver.c ++++ b/lib/dns/resolver.c +@@ -7339,9 +7339,11 @@ resquery_response(isc_task_t *task, isc_event_t *event) { + sizeof(addrbuf)); + snprintf(buf, sizeof(buf), "received packet from %s " + "(bad edns):\n", addrbuf); ++/* + dns_message_logpacket(message, buf, + DNS_LOGCATEGORY_RESOLVER, DNS_LOGMODULE_RESOLVER, + ISC_LOG_NOTICE, fctx->res->mctx); ++*/ + dns_adb_changeflags(fctx->adb, query->addrinfo, + DNS_FETCHOPT_NOEDNS0, + DNS_FETCHOPT_NOEDNS0); +@@ -7369,9 +7371,11 @@ resquery_response(isc_task_t *task, isc_event_t *event) { + sizeof(addrbuf)); + snprintf(buf, sizeof(buf), "received packet from %s (no opt):\n", + addrbuf); ++/* + dns_message_logpacket(message, buf, + DNS_LOGCATEGORY_RESOLVER, DNS_LOGMODULE_RESOLVER, + ISC_LOG_NOTICE, fctx->res->mctx); ++*/ + dns_adb_changeflags(fctx->adb, query->addrinfo, + DNS_FETCHOPT_NOEDNS0, + DNS_FETCHOPT_NOEDNS0); +-- +1.9.1 + |