From: Jeremy C. Reed Date: Wed, 16 Mar 2016 19:42:56 +0000 (-0400) Subject: add comments about why the configuration is bad X-Git-Tag: v9.11.0a1~28 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=e12c78ebf680fda30b566d13eef0ee8066fc5cad;p=thirdparty%2Fbind9.git add comments about why the configuration is bad I didn't get review. This is trivial. --- diff --git a/bin/tests/system/redirect/conf/bad1.conf b/bin/tests/system/redirect/conf/bad1.conf index a5f730baa3d..141b5f6c5fc 100644 --- a/bin/tests/system/redirect/conf/bad1.conf +++ b/bin/tests/system/redirect/conf/bad1.conf @@ -25,5 +25,6 @@ zone "." { type redirect; file "redirect.db"; allow-query { 10.0.1.0; }; +/* option 'forwarders' is not allowed in 'redirect' zone '.' */ forwarders { 1.2.3.4; }; }; diff --git a/bin/tests/system/redirect/conf/bad2.conf b/bin/tests/system/redirect/conf/bad2.conf index 2f9c6888d3b..e83694bf1ee 100644 --- a/bin/tests/system/redirect/conf/bad2.conf +++ b/bin/tests/system/redirect/conf/bad2.conf @@ -25,5 +25,6 @@ zone "." { type redirect; file "redirect.db"; allow-query { 10.0.1.0; }; +/* option 'also-notify' is not allowed in 'redirect' zone '.' */ also-notify { 1.2.3.4; }; }; diff --git a/bin/tests/system/redirect/conf/bad3.conf b/bin/tests/system/redirect/conf/bad3.conf index b37ebe91df5..fa8746a5b43 100644 --- a/bin/tests/system/redirect/conf/bad3.conf +++ b/bin/tests/system/redirect/conf/bad3.conf @@ -21,6 +21,7 @@ zone "." { file "hint.db"; }; +/* redirect zones must be called "." */ zone "x" { type redirect; file "redirect.db";