You changed something, configured something, or set up BIND for the first time, but on startup you get an error like:
...
unknown option 'zone'
...
Solution: don't stuff zone declarations into the "options" section.
For example, this is wrong:
options {
...
include "zones.conf";
...
};
And this is also wrong:
options {
...
zone "myzone.ru" {
...
}
...
}
That is, the zone declaration must be outside of any block!
This is correct:
options {
...
};
zone "myzone.ru" {
...
};
Or like this:
options {
...
};
include "zones.conf";
Applies to: bind (named), any version
Comments