2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

add comments about why the configuration is bad

I didn't get review. This is trivial.
This commit is contained in:
Jeremy C. Reed
2016-03-16 15:42:56 -04:00
parent 6693c9a2f0
commit e12c78ebf6
3 changed files with 3 additions and 0 deletions

View File

@@ -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; };
};

View File

@@ -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; };
};

View File

@@ -21,6 +21,7 @@ zone "." {
file "hint.db";
};
/* redirect zones must be called "." */
zone "x" {
type redirect;
file "redirect.db";