[bind10-dev] what to do with src/bin/host ?

Shane Kerr shane at isc.org
Fri Apr 29 14:36:29 UTC 2011


On Thu, 2011-04-28 at 09:32 -0500, Jeremy C. Reed wrote:
> If we want to make a powerful and useful DNS diagnostics tool maybe we 
> should make a plan and requirements document.

I don't think that's the true goal. We may get that, but for now it's
out of scope for the project.

> But if we want an ah-hoc tool, maybe src/bin/host is fine -- but since I 
> assume it will diverge from host(1) then maybe it should be renamed.

I agree with this.

> Also note that src/bin/host has no tests. If it is to be formal 
> installed tool, then maybe it should have tests too. But if its purpose 
> is for testing, then maybe we don't need unit-tests for it, but should 
> start using it (automated) for functional testing of BIND 10.

Well, our current policy is that we don't merge untested code in, so
we'll need tests for the new code at least. In general, we also don't go
out of our way to add tests to old code.

However, IIRC the host utility is pretty small, so creating tests should
not be a *huge* task (although certainly non-trivial). I've created
ticket #874 for this, and think maybe it should be added to the final
sprint before the release. Something to discuss on the sprint planning
call on Tuesday!

--
Shane




More information about the bind10-dev mailing list