[bind10-dev] flaws in reversed name-based approach for getting the "previous name"

JINMEI Tatuya / 神明達哉 jinmei at isc.org
Thu Oct 6 07:06:06 UTC 2011


At Tue, 4 Oct 2011 18:42:00 -0400,
Robert Edmonds <edmonds at isc.org> wrote:

> > - From a quick look, PowerDNS 3.0 seems to use a similar approach as
> >   ours (actually I cannot think of any way that is essentially
> >   different from this if we want to achieve the goal via a
> >   general-purpose database), but it converts '.' as the label
> >   separator to ' ' (a white space), e.g., "a.example.com." -> "com example a"  
> >   It will solve the problem of '.' vs '-', but I suspect it will still
> >   have a problem with other escaped characters such as \. (in fact, I
> >   suspect PowerDNS generally doesn't work well if the qname has an
> >   escaped character even without DNSSEC).
> 
> fwiw, about 2.5 years ago i was experimenting with postgresql as a
> storage backend for DNS data, and i wrote the attached code (actually,
> it is heavily based on something else, but i forget what i based it on).
> of course relying on a custom datatype implementation is the opposite of
> "general-purpose database"...

Thanks, that's interesting.  It seems to be a concrete implementation
that Stephen mentioned.  We could provide per-database customization
like this, but as I replied to Stephen's message, I personally don't
see a strong benefit for the customization within the scope of our
goals.

---
JINMEI, Tatuya



More information about the bind10-dev mailing list