[bind10-dev] custom update tool for use in DDNS tests

JINMEI Tatuya / 神明達哉 jinmei at isc.org
Thu Jul 12 18:22:05 UTC 2012


At Tue, 10 Jul 2012 23:07:02 +0200,
Jelte Jansen <jelte at isc.org> wrote:

> (I originally started to write this message as a comment for ticket
> http://bind10.isc.org/ticket/2061 but it occurred to me that this may
> warrant some discussion first, not only to decide whether we should do
> this in the first place, and whether this is the right approach, but
> also because I may touch on some more general things that may warrant
> some thought)
> 
> For #2061, what we need is the ability to create 'bad' UPDATE
> messages; for instance multiple zone statements, or prereq/update
> statements for wrong names.

I'm not sure exactly which point(s) you wanted to discuss, but the
idea of writing a tool to generate broken messages for tests seems
reasonable.  I don't have a strong opinion about the specific command
syntax (yet).  I also think it's nice to have an nsupdate-like tool
that has a more convenient command line editor (i.e., "readline").

The only thing that I think may be of a discussion is whether we want
to unify this test tool into a general purpose utility.  In general, I
believe the latter should never be able to be misused - whether it's
intentional or accidental, so even if broken/invalid messages can be
made only with a non default option, it seems to be suboptimal to me.
If the reason why want to unify these two into a single problem is to
avoid having two pretty-identical implementations, I'd consider
whether we can share some core part of the code but still use separate
top level interfaces.

---
JINMEI, Tatuya


More information about the bind10-dev mailing list