]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix log messages incorrectly logged at error
authorMark Andrews <marka@isc.org>
Thu, 17 Nov 2022 06:33:15 +0000 (17:33 +1100)
committerMark Andrews <marka@isc.org>
Thu, 24 Nov 2022 21:50:36 +0000 (08:50 +1100)
The log message "got TLS configuration for zone transfer" is not
an error, setting to info.

lib/dns/zone.c

index f8a7ab463309f08154f0660432ef6c5828851515..04187e366e24a88124f9b45388417797f8a54525 100644 (file)
@@ -13081,7 +13081,7 @@ zone_notify(dns_zone_t *zone, isc_time_t *now) {
                                                    tlsname, &transport);
 
                        dns_zone_logc(
-                               zone, DNS_LOGCATEGORY_XFER_IN, ISC_LOG_ERROR,
+                               zone, DNS_LOGCATEGORY_XFER_IN, ISC_LOG_INFO,
                                "got TLS configuration for zone transfer");
                }
 
@@ -18248,7 +18248,7 @@ got_transfer_quota(isc_task_t *task, isc_event_t *event) {
                result = dns_view_gettransport(view, DNS_TRANSPORT_TLS, tlsname,
                                               &zone->transport);
 
-               dns_zone_logc(zone, DNS_LOGCATEGORY_XFER_IN, ISC_LOG_ERROR,
+               dns_zone_logc(zone, DNS_LOGCATEGORY_XFER_IN, ISC_LOG_INFO,
                              "got TLS configuration for zone transfer: %s",
                              isc_result_totext(result));
        }
@@ -21384,7 +21384,7 @@ checkds_send(dns_zone_t *zone) {
                        (void)dns_view_gettransport(view, DNS_TRANSPORT_TLS,
                                                    tlsname, &transport);
                        dns_zone_logc(
-                               zone, DNS_LOGCATEGORY_XFER_IN, ISC_LOG_ERROR,
+                               zone, DNS_LOGCATEGORY_XFER_IN, ISC_LOG_INFO,
                                "got TLS configuration for zone transfer");
                }