[bind10-dev] DNS packet API: the name object
JINMEI Tatuya / 神明達哉
jinmei at isc.org
Mon Aug 10 20:05:58 UTC 2009
At Thu, 06 Aug 2009 14:58:46 -0700,
JINMEI Tatuya <jinmei at isc.org> wrote:
> than textual description. I also plan to commit .cc files to the svn
> repository for reference once I get an access to it.
Done, it can be retrieved by
% svn co svn://bind10.isc.org/branches/jinmei-pktapi-exp
you can also browse it on the BIND10 trac page.
A couple of comments on repository administration:
1. I created a common set of top directories: trunk, tags, branches
under the top repository, and committed the experimental code under
the branches directory with an ad hoc branch name. If it's
different from the expected repository organization, I don't mind
clean them up and start over (there's no revision history, so
there's nothing to lose except work time)
2. e-mail notifications for repository changes would be useful. is it
easy to set up such a thing?
Additional technical notes:
- many of the member functions remain unimplemented. As I noted in my
previous message I believe it should be quite easy to port BIND9's
name module (bind9/lib/dns/name.c) within the proposed framework.
For example, Name::split() could be implemented based on
lib/dns/name.c:dns_name_getlabelsequence(). These are basically
straightforward but (hopefully) not very boring, so if someone in
this list is interested in completing the prototype this way, it
would be a nice exercise as well as a good initial contribution.
- dnspython has a method named "to_unicode", which returns a unicode
representation of a given name object. My initial proposal doesn't
contain such a thing, but if we want BIND10 to support IDN more
explicitly we may want to have something like that. This might be
another development area appropriate for external contributors,
especially for Asian people:-)
- it would also be interesting to see how easily this prototype
implementation can work as a backend of a python interface. If
someone can play with Boost::Python (or other similar tool) to see
the feasibility, it would be great.
---
JINMEI, Tatuya
More information about the bind10-dev
mailing list