2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

971. [func] 'try-edns' can be use to disable edns on all queries.

This commit is contained in:
Mark Andrews
2001-08-30 05:52:18 +00:00
parent 1eaad22e11
commit 06a960c681
8 changed files with 35 additions and 10 deletions

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: server.c,v 1.339 2001/08/07 01:58:56 marka Exp $ */
/* $Id: server.c,v 1.340 2001/08/30 05:52:12 marka Exp $ */
#include <config.h>
@@ -813,6 +813,11 @@ configure_view(dns_view_t *view, cfg_obj_t *config, cfg_obj_t *vconfig,
CHECK(configure_view_acl(vconfig, config, "sortlist",
actx, ns_g_mctx, &view->sortlist));
obj = NULL;
result = ns_config_get(maps, "try-edns", &obj);
INSIST(result == ISC_R_SUCCESS);
view->tryedns = cfg_obj_asboolean(obj);
obj = NULL;
result = ns_config_get(maps, "request-ixfr", &obj);
INSIST(result == ISC_R_SUCCESS);