diff --git a/bin/dig/dighost.c b/bin/dig/dighost.c --- a/bin/dig/dighost.c.orig 2011-03-11 07:46:58.000000000 +0100 +++ b/bin/dig/dighost.c 2011-10-28 14:31:29.806591603 +0200 @@ -3291,8 +3291,13 @@ } else { if (!l->ns_search_only) { fputs(l->cmdline, stdout); - printf(";; connection timed out; no servers could be " - "reached\n"); + if (!next_origin(ISC_LIST_HEAD(l->q))) { + printf(";; connection timed out; no servers could be " + "reached\n"); + } else { + printf(";; connection timed out; trying next " + "origin\n"); + } } cancel_lookup(l); check_next_lookup(l);