1382. [bug] make install failed with --enable-libbind. [RT #3656]
+1381. [bug] named failed to correctly process answers that
+ contained DNAME records where the resulting CNAME
+ resulted in a negative answer.
+
--- 9.2.2rc1 released ---
1357. [bug] --enable-libbind would fail when not built in the
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: resolver.c,v 1.218.2.12.4.3 2003/02/18 03:20:58 marka Exp $ */
+/* $Id: resolver.c,v 1.218.2.12.4.4 2003/02/18 03:32:01 marka Exp $ */
#include <config.h>
for (rdataset = ISC_LIST_HEAD(name->list);
rdataset != NULL;
rdataset = ISC_LIST_NEXT(rdataset, link)) {
+ isc_boolean_t found_dname = ISC_FALSE;
found = ISC_FALSE;
- want_chaining = ISC_FALSE;
aflag = 0;
if (rdataset->type == dns_rdatatype_dname) {
/*
want_chaining = ISC_FALSE;
} else if (result != ISC_R_SUCCESS)
return (result);
+ else
+ found_dname = ISC_TRUE;
} else if (rdataset->type == dns_rdatatype_sig
&& rdataset->covers ==
dns_rdatatype_dname) {
/*
* DNAME chaining.
*/
- if (want_chaining) {
+ if (found_dname) {
/*
* Copy the the dname into the
* qname fixed name.