+2275. [func] Add support to dig to perform IXFR queries over UDP.
+ [RT #17235]
+
2274. [func] Log zone transfer statistics. [RT #17161]
2273. [bug] Adjust log level to WARNING when saving inconsistant
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: dig.c,v 1.217 2007/06/18 23:47:17 tbox Exp $ */
+/* $Id: dig.c,v 1.218 2007/12/03 00:21:48 marka Exp $ */
/*! \file */
MAXSERIAL);
(*lookup)->section_question = plusquest;
(*lookup)->comments = pluscomm;
+ (*lookup)->tcp_mode = ISC_TRUE;
} else {
(*lookup)->rdtype = rdtype;
(*lookup)->rdtypeset = ISC_TRUE;
lookup->section_question =
plusquest;
lookup->comments = pluscomm;
+ lookup->tcp_mode = ISC_TRUE;
} else {
lookup->rdtype = rdtype;
lookup->rdtypeset = ISC_TRUE;
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: dighost.c,v 1.303 2007/06/18 23:47:17 tbox Exp $ */
+/* $Id: dighost.c,v 1.304 2007/12/03 00:21:48 marka Exp $ */
/*! \file
* \note
if ((lookup->rdtype == dns_rdatatype_axfr) ||
(lookup->rdtype == dns_rdatatype_ixfr)) {
- lookup->doing_xfr = ISC_TRUE;
/*
- * Force TCP mode if we're doing an xfr.
- * XXX UDP ixfr's would be useful
+ * Force TCP mode if we're doing an axfr.
*/
- lookup->tcp_mode = ISC_TRUE;
+ if (lookup->rdtype == dns_rdatatype_axfr) {
+ lookup->doing_xfr = ISC_TRUE;
+ lookup->tcp_mode = ISC_TRUE;
+ } else if (lookup->tcp_mode) {
+ lookup->doing_xfr = ISC_TRUE;
+ }
}
add_question(lookup->sendmsg, lookup->name, lookup->rdclass,
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: host.c,v 1.115 2007/08/15 04:40:30 marka Exp $ */
+/* $Id: host.c,v 1.116 2007/12/03 00:21:48 marka Exp $ */
/*! \file */
lookup->tcp_mode = ISC_TRUE;
} else if (rdtype == dns_rdatatype_ixfr) {
lookup->ixfr_serial = serial;
+ lookup->tcp_mode = ISC_TRUE;
list_type = rdtype;
#ifdef WITH_IDN
} else if (rdtype == dns_rdatatype_a ||