mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
2920. [func] Allow 'filter-aaaa-on-v4' to be applied selectively
to IPv4 clients. New acl 'filter-aaaa' (default any).
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: view.c,v 1.164 2010/06/02 00:38:28 marka Exp $ */
|
||||
/* $Id: view.c,v 1.165 2010/06/22 03:58:38 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@@ -179,9 +179,8 @@ dns_view_create(isc_mem_t *mctx, dns_rdataclass_t rdclass,
|
||||
view->flush = ISC_FALSE;
|
||||
view->dlv = NULL;
|
||||
view->maxudp = 0;
|
||||
#ifdef ALLOW_FILTER_AAAA_ON_V4
|
||||
view->v4_aaaa = dns_v4_aaaa_ok;
|
||||
#endif
|
||||
view->v4_aaaa_acl = NULL;
|
||||
dns_fixedname_init(&view->dlv_fixed);
|
||||
view->managed_keys = NULL;
|
||||
|
||||
@@ -315,6 +314,8 @@ destroy(dns_view_t *view) {
|
||||
dns_acl_detach(&view->upfwdacl);
|
||||
if (view->denyansweracl != NULL)
|
||||
dns_acl_detach(&view->denyansweracl);
|
||||
if (view->v4_aaaa_acl != NULL)
|
||||
dns_acl_detach(&view->v4_aaaa_acl);
|
||||
if (view->answeracl_exclude != NULL)
|
||||
dns_rbt_destroy(&view->answeracl_exclude);
|
||||
if (view->denyanswernames != NULL)
|
||||
|
Reference in New Issue
Block a user