Remove the ixfr-from-differences side-effect which causes an AXFR and extend

request-ixfr to the zone level.
This commit is contained in:
Scott Mann
2011-09-06 22:29:33 +00:00
parent 9252f15750
commit fad5116b3d
13 changed files with 142 additions and 40 deletions

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: view.h,v 1.135 2011/09/02 21:15:36 each Exp $ */
/* $Id: view.h,v 1.136 2011/09/06 22:29:33 smann Exp $ */
#ifndef DNS_VIEW_H
#define DNS_VIEW_H 1
@@ -142,7 +142,6 @@ struct dns_view {
dns_rbt_t * answeracl_exclude;
dns_rbt_t * denyanswernames;
dns_rbt_t * answernames_exclude;
isc_boolean_t requestixfr;
isc_boolean_t provideixfr;
isc_boolean_t requestnsid;
dns_ttl_t maxcachettl;

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: zone.h,v 1.193 2011/09/02 21:15:36 each Exp $ */
/* $Id: zone.h,v 1.194 2011/09/06 22:29:33 smann Exp $ */
#ifndef DNS_ZONE_H
#define DNS_ZONE_H 1
@@ -1932,6 +1932,25 @@ dns_zone_setrefreshkeyinterval(dns_zone_t *zone, isc_uint32_t interval);
* \li 'zone' to be valid.
*/
isc_boolean_t
dns_zone_getrequestixfr(dns_zone_t *zone);
/*%
* Returns the true/false value of the request-ixfr option in the zone.
*
* Requires:
* \li 'zone' to be valid.
*/
void
dns_zone_setrequestixfr(dns_zone_t *zone, isc_boolean_t flag);
/*%
* Sets the request-ixfr option for the zone. Either true or false. The
* default value is determined by the setting of this option in the view.
*
* Requires:
* \li 'zone' to be valid.
*/
void
dns_zone_setserialupdatemethod(dns_zone_t *zone, dns_updatemethod_t method);
/*%