Commit c0984ac8 authored by Mark Andrews's avatar Mark Andrews
Browse files

3115. [bug] Named could fail to return requested data when

                        following a CNAME that points into the same zone.
                        [RT #2445]
parent 23465021
3115. [bug] Named could fail to return requested data when
following a CNAME that points into the same zone.
[RT #2445]
3114. [bug] Retain expired RRSIGs in dynamic zones if key is
inactive and there is no replacement key. [RT #23136]
......
......@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: query.c,v 1.363 2011/04/27 23:47:26 tbox Exp $ */
/* $Id: query.c,v 1.364 2011/05/20 05:09:30 marka Exp $ */
/*! \file */
......@@ -635,6 +635,7 @@ query_findversion(ns_client_t *client, dns_db_t *db)
dns_db_attach(db, &dbversion->db);
dns_db_currentversion(db, &dbversion->version);
dbversion->acl_checked = ISC_FALSE;
dbversion->queryok = ISC_FALSE;
ISC_LIST_APPEND(client->query.activeversions,
dbversion, link);
}
......@@ -766,6 +767,7 @@ query_validatezonedb(ns_client_t *client, dns_name_t *name,
dbversion->queryok = ISC_FALSE;
return (DNS_R_REFUSED);
}
dbversion->queryok = ISC_TRUE;
approved:
/* Transfer ownership, if necessary. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment