[knot-dns-users] dynamically add/delete zones on the fly?

daniel.salzman at nic.cz daniel.salzman at nic.cz
Sat Jan 9 18:10:25 CET 2016

Hi Mark,

I'm sorry for the delayed answer. The dynamic configuration
will be available in the upcoming 2.1.0 version, which should
be released in the next few days. But, if you are impatient,
there already is a release candidate available (see the
corresponding documentation).

A simple example:

1) Prepare a zone template (not required, but very useful):
$ knotc conf-begin
$ knotc conf-set template[default]
$ knotc conf-set template[default].storage "/var/lib/knot/zones/"
$ knotc conf-commit

2) Add a new zone:
$ knotc conf-begin
$ knotc conf-set zone[example.com]
$ knotc conf-commit

3) Happy smile :-)


On 2016-01-07 17:35, Mark Jeftovic wrote:
> Hi, is there any way to dynamically add/delete zones on-the-fly other
> than to rebuild your master config and reload?
> Thx
> - mark
> _______________________________________________
> knot-dns-users mailing list
> knot-dns-users at lists.nic.cz
> https://lists.nic.cz/cgi-bin/mailman/listinfo/knot-dns-users

More information about the knot-dns-users mailing list