mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
list servers that time out in dig +nssearch
This commit is contained in:
@@ -2983,7 +2983,15 @@ connect_timeout(isc_task_t *task, isc_event_t *event) {
|
|||||||
check_next_lookup(l);
|
check_next_lookup(l);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (!l->ns_search_only) {
|
if (l->ns_search_only) {
|
||||||
|
isc_netaddr_t netaddr;
|
||||||
|
char buf[ISC_NETADDR_FORMATSIZE];
|
||||||
|
|
||||||
|
isc_netaddr_fromsockaddr(&netaddr, &query->sockaddr);
|
||||||
|
isc_netaddr_format(&netaddr, buf, sizeof(buf));
|
||||||
|
|
||||||
|
printf(";; no response from %s\n", buf);
|
||||||
|
} else {
|
||||||
fputs(l->cmdline, stdout);
|
fputs(l->cmdline, stdout);
|
||||||
printf(";; connection timed out; no servers could be "
|
printf(";; connection timed out; no servers could be "
|
||||||
"reached\n");
|
"reached\n");
|
||||||
|
@@ -108,6 +108,12 @@
|
|||||||
[RT #43670]
|
[RT #43670]
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
<command>dig +nssearch</command> will now list name servers
|
||||||
|
that have timed out, in addition to those that respond. [GL #64]
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user