You get a bonus - 1 coin for daily activity. Now you have 1 coin

Error "unknown option 'zone'" in bind (named)

Practice



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

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "Running server side scripts using PHP as an example (LAMP)"

Terms: Running server side scripts using PHP as an example (LAMP)