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

Robert Edmonds edmonds at isc.org
Tue Oct 4 22:42:00 UTC 2011


JINMEI Tatuya / 神明達哉 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"...

-- 
Robert Edmonds
edmonds at isc.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pg-dnsrr.tgz
Type: application/x-gtar-compressed
Size: 4873 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20111004/edc045d1/attachment.bin>


More information about the bind10-dev mailing list