mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-04 08:35:31 +00:00
add comments about why the configuration is bad
I didn't get review. This is trivial.
This commit is contained in:
@@ -25,5 +25,6 @@ zone "." {
|
|||||||
type redirect;
|
type redirect;
|
||||||
file "redirect.db";
|
file "redirect.db";
|
||||||
allow-query { 10.0.1.0; };
|
allow-query { 10.0.1.0; };
|
||||||
|
/* option 'forwarders' is not allowed in 'redirect' zone '.' */
|
||||||
forwarders { 1.2.3.4; };
|
forwarders { 1.2.3.4; };
|
||||||
};
|
};
|
||||||
|
@@ -25,5 +25,6 @@ zone "." {
|
|||||||
type redirect;
|
type redirect;
|
||||||
file "redirect.db";
|
file "redirect.db";
|
||||||
allow-query { 10.0.1.0; };
|
allow-query { 10.0.1.0; };
|
||||||
|
/* option 'also-notify' is not allowed in 'redirect' zone '.' */
|
||||||
also-notify { 1.2.3.4; };
|
also-notify { 1.2.3.4; };
|
||||||
};
|
};
|
||||||
|
@@ -21,6 +21,7 @@ zone "." {
|
|||||||
file "hint.db";
|
file "hint.db";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* redirect zones must be called "." */
|
||||||
zone "x" {
|
zone "x" {
|
||||||
type redirect;
|
type redirect;
|
||||||
file "redirect.db";
|
file "redirect.db";
|
||||||
|
Reference in New Issue
Block a user