summaryrefslogtreecommitdiffstats
path: root/bin/dig/dighost.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dig/dighost.c')
-rw-r--r--bin/dig/dighost.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/dig/dighost.c b/bin/dig/dighost.c
index 55f7bf2..a8ae79f 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();
}
@@ -3654,6 +3655,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();
}