rndc changezone

Petr Spacek pspacek at redhat.com
Tue Jul 8 17:09:55 UTC 2014

On 8.7.2014 18:53, Klaus Darilion wrote:
> Hi!
> I try to implement a "rndc changezone" which allows me to change the
> config of a zone which was added with "rndc addzone".
> I greped the code for "delzone" and "addzone" and added my code to the
> same places. rndc accepts the new option but bind named refuses the
> command with:
>    named[13052]: unknown option 'changezone'
> I suspect there may be some sort of dictionary somewhere, where the
> whole arguments are parsed (all parameters after "rndc") - but I fail to
> find it. Any hints are appreciated.

Search for NS_COMMAND_ADDZONE in bin/named/control.c.

Petr Spacek  @  Red Hat

More information about the bind-workers mailing list