mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
41 lines
1.4 KiB
Diff
41 lines
1.4 KiB
Diff
# 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
|
|
|