Merge branch '4396-dig-does-not-display-yaml-output-for-errors-when-using-protocols-other-than-udp-bind-9.18' into 'bind-9.18'

[9.18] Resolve "dig does not display YAML output for errors when using protocols other than UDP"

See merge request isc-projects/bind9!8503
This commit is contained in:
Mark Andrews 2023-11-20 03:14:58 +00:00
commit 79e2a91cb4
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
6286. [bug] Dig +yaml will now report "no servers could be reached"
on TCP connection failure as well as for UDP timeouts.
[GL #4396]
--- 9.18.20 released ---
6280. [bug] Fix missing newlines in the output of "rndc nta -dump".

View file

@ -3654,6 +3654,7 @@ tcp_connected(isc_nmhandle_t *handle, isc_result_t eresult, void *arg) {
start_tcp(next);
check_if_done();
} else {
dighost_error("no servers could be reached\n");
clear_current_lookup();
}