Merge branch 'nssearch-timeout' into 'master'
chg: usr: List servers that time out in dig +nssearch. [GL #64] See merge request isc-projects/bind9!28 Closes #64
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
4901. [func] "dig +nssearch" now lists the name servers
|
||||
for a domain that time out, as well as the servers
|
||||
that respond. [GL #64]
|
||||
|
||||
4900. [cleanup] Remove all uses of inet_aton(). [GL #13]
|
||||
|
||||
4899. [test] Convert most of the remaining system tests to be able
|
||||
|
||||
+2
-1
@@ -877,7 +877,8 @@
|
||||
attempts to find the authoritative name servers for
|
||||
the zone containing the name being looked up and
|
||||
display the SOA record that each name server has for
|
||||
the zone.
|
||||
the zone. Addresses of servers that that did not
|
||||
respond are also printed.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
+9
-1
@@ -2983,7 +2983,15 @@ connect_timeout(isc_task_t *task, isc_event_t *event) {
|
||||
check_next_lookup(l);
|
||||
}
|
||||
} 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);
|
||||
printf(";; connection timed out; no servers could be "
|
||||
"reached\n");
|
||||
|
||||
@@ -108,6 +108,12 @@
|
||||
[RT #43670]
|
||||
</para>
|
||||
</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>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user