From 4181a187a11102cd1b613d1b35c0172261af650c Mon Sep 17 00:00:00 2001 From: Aram Sargsyan Date: Thu, 16 Nov 2023 13:30:32 +0000 Subject: [PATCH 1/2] Emit "no servers could be reached" also for UDP setup failure When all the servers are exhausted for UDP setup emit "no servers could be reached" in udp_ready(). This message can also be emitted for a recv_done() error and for TCP connection failure similarly. (cherry picked from commit 4d529ee12ab02ddb40a4ce2d3422a6e4caee7a19) --- bin/dig/dighost.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/dig/dighost.c b/bin/dig/dighost.c index 7a6b8ab33f..a8ae79fc28 100644 --- a/bin/dig/dighost.c +++ b/bin/dig/dighost.c @@ -3249,6 +3249,7 @@ udp_ready(isc_nmhandle_t *handle, isc_result_t eresult, void *arg) { start_udp(next); check_if_done(); } else { + dighost_error("no servers could be reached\n"); clear_current_lookup(); } From 2552f731c530b7be4448830dd4909a15f36e6bd5 Mon Sep 17 00:00:00 2001 From: Aram Sargsyan Date: Thu, 16 Nov 2023 13:38:39 +0000 Subject: [PATCH 2/2] Add a CHANGES note for [GL #1229] (cherry picked from commit ed879c41f2b9c790633fa1948b9f2f824242ff37) --- CHANGES | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGES b/CHANGES index f86a288ae1..ed34827598 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,7 @@ +6290. [bug] Dig +yaml will now report "no servers could be reached" + also for UDP setup failure when no other servers or + tries are left. [GL #1229] + 6287. [bug] Recognize escapes when reading the public key from file. [GL !8502]