Subject: | "Bad Text" when values contain the negation "!" sign |
Problems when values contain the negation "!" sign. eg:
view "myrootview" {
match-clients {
!dont_match_this_dns;
};
zone "." {
type hint;
file "/etc/named.d/root.hint";
};
};
A fix is to add "!" to the characters that each value accepts, see the
attached patch.
Subject: | patch_BIND_Config_Parser.patch |
--- BIND/Config/Parser.pm 2005-06-26 23:28:12.000000000 +0200
+++ BIND.me/Config/Parser.pm 2009-12-08 15:24:21.000000000 +0100
@@ -1,3 +1,4 @@
+
package BIND::Config::Parser;
# $Id: Parser.pm 35 2005-06-26 18:58:24Z $
@@ -31,7 +32,7 @@
{ [ $item[1], $item[2], $item[4] ] }
value:
- /[\w.\/=-]+/ | /"[\w.\/ =-]+"/
+ /[\!\w.\/=-]+/ | /"[\!\w.\/ =-]+"/
eofile:
/^\Z/