allow-query does not seem to restrict access to version.bind in 9.2.1

Mark_Andrews at isc.org Mark_Andrews at isc.org
Wed Jun 26 06:36:48 UTC 2002


	Apply the following.

Index: bin/named/server.c
===================================================================
RCS file: /proj/cvs/isc/bind9/bin/named/server.c,v
retrieving revision 1.339.2.6
diff -u -r1.339.2.6 server.c
--- server.c	2002/05/08 06:06:33	1.339.2.6
+++ server.c	2002/06/26 06:24:23
@@ -1891,6 +1901,8 @@
 	 * Create (or recreate) the internal _bind view.
 	 */
 	CHECK(create_bind_view(&view));
+	CHECK(configure_view_acl(NULL, config, "allow-query",
+				 &aclconfctx, ns_g_mctx, &view->queryacl));
 	ISC_LIST_APPEND(viewlist, view, link);
 	CHECK(create_version_zone(maps, server->zonemgr, view));
 	CHECK(create_authors_zone(options, server->zonemgr, view));
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list