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

Daniel Salzman daniel.salzman at nic.cz
Thu Jan 14 13:39:41 CET 2016


On 01/14/2016 12:23 PM, Jan-Piet Mens wrote:
>> You are right, the square brackets are part of the syntax.
> That's a pity ... having to quote all that etc. Wouldn't
>
>          knotc conf-set zone example.com

I completely understand, but it is a solution just for your simple case.

However, you can use this equivalent notation:
    knotc conf-set zone.domain example.com

But the following different commands cannot be similarly simplified,
since it would be confusing or ambiguous:
    knotc conf-set zone[example.com].master master1 master2
    knotc conf-get zone[example.com]
    knotc conf-get zone.master

Is there a better character combination than the square brackets?

Daniel

> have been easier for all concerned, particulary administrators using a
> shell? ;)
>
>          -JP
> _______________________________________________
> 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