2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 21:47:59 +00:00

954. [bug] dig, host, nslookup: AXFR / IXFR are inherently

non-recursive, do not set RD.  [RT #1575]
This commit is contained in:
Mark Andrews 2001-08-06 05:50:20 +00:00
parent e5656b4aeb
commit 4e400cb7a2
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,6 @@
954. [bug] dig, host, nslookup: AXFR / IXFR are inherently
non-recursive, do not set RD. [RT #1575]
953. [func] named.key from change #843 has been replaced by
/etc/rndc.key. Both named and rndc will look for
this file and associated key if they are not already

View File

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dighost.c,v 1.219 2001/07/30 01:09:13 marka Exp $ */
/* $Id: dighost.c,v 1.220 2001/08/06 05:50:20 marka Exp $ */
/*
* Notice to programmers: Do not use this code as an example of how to
@ -1308,7 +1308,9 @@ setup_lookup(dig_lookup_t *lookup) {
if (lookup->trace || (lookup->ns_search_only && !lookup->trace_root))
lookup->recurse = ISC_FALSE;
if (lookup->recurse) {
if (lookup->recurse &&
lookup->rdtype != dns_rdatatype_axfr &&
lookup->rdtype != dns_rdatatype_ixfr) {
debug("recursive query");
lookup->sendmsg->flags |= DNS_MESSAGEFLAG_RD;
}