Hello Knot developers,
I appear to have run into a bug. I'm trying to run Knot 1.3.4, and the
zones section of my config looks like this:
zones {
ripe.net { file "ripe.net.zone"; xfr-in admin; notify-in admin; }
nro.net { file "nro.net.zone"; xfr-in admin; notify-in admin; }
...
...
...
include "/etc/knot/ns.ripe.net.zones";
}
However, when I try to verify this config, I get:
# knotc -c default.conf checkconf
2013-12-20T22:43:19 [error] Config error in 'default.conf' (line 922
token ';') - syntax error
2013-12-20T22:43:19 [error] Couldn't parse config file, refusing to
continue.
If I remove the include directive, the configuration verifies. The
documentation says I should be able to use the include directive almost
anywhere in the config file.
----
A.9 include Statement
The include statement is a special statement which can be used almost
anywhere on any level in the configuration file. It makes inclusion of
another file possible.
The path of the included file can be either absolute or relative to a
configuration file currently being processed.
----
Am I hitting some kind of bug where the include directive isn't being
recognised inside the zones section? If it is a bug, I would *really*
appreciate a fix if possible. I know it's Xmas and all, but I'm setting
up some servers with Knot, and I'd love to be able to use the config
this way instead of working around it.
Regards,
Anand