[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [idn] ZWNJ




> But, if the goal is to
>be able to retrieve and examine the original name, then, it
>seems to me that the way to do that is to store the original
>name somewhere, rather than hoping that nameprep can both do its
>job and be reversible.

Today DNS stores the original name, and the case insensitive
matching is done by case insensitive compare.

Using UCS, the DNS could store all names using the original form
in UTF-8.
When matching names you do form insensitive compare (one way
to do this is nameprep(query) = nameprep(original name), and the
nameprep(original name) can be cached to avoid doing it more than once).
If also ACE encoding is used, the DNS server do ACE->UTF-8 decode followed
by the same compare as above.

The difference between current matching and a IDN based matching
is just the matching algorithm (and ACE decode). I expect that
the IDN matching algorthm can be done good enough so that it
will not overburden the DNS server.


   Dan