4483. [func] Check prefixes in acls to make sure the address and

prefix lengths are consistent.  Warn only in
                        BIND 9.11 and earlier. [RT #43367]
This commit is contained in:
Mark Andrews
2016-10-11 14:52:28 +11:00
parent 61463ab7a4
commit c5d4cfc8aa
6 changed files with 32 additions and 5 deletions

View File

@@ -0,0 +1,16 @@
/*
* Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
acl a {
{ "none"; };
{ !19.0.0.0/7; };
};
options {
allow-query { a; };
};