+ 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
* 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
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;
}