IDN with Gemini?
Sean Conner
sean at conman.org
Tue Dec 8 22:20:38 GMT 2020
It was thus said that the Great Stephane Bortzmeyer once stated:
> On Mon, Dec 07, 2020 at 09:46:06PM +0000,
> colecmac at protonmail.com <colecmac at protonmail.com> wrote
> a message of 49 lines which said:
>
> > Despite what this RFC says, I don't see what situation would actually
> > completely fail on punycoded domains. I guess the spec could mandate trying
> > with punycode first, than Unicode, but that seems needless to me. Do you
> > have an example of a system/network that fails on punycode?
>
> mDNS (used in Apple's Bonjour). Despite its name, it has little to do
> with DNS, and it requires UTF-8 (and does not use Punycode).
I was curious about this, having written a DNS library [1]. Saying it has
nothing to do with DNS while being called "Multicast DNS", using the same
encoding scheme as DNS, and covers a portion of the DNS namespace, saying it
has "little to do with DNS" is a bit uncharitable (in my opinion). It *is*
DNS, over UDP---it just uses a special IP address and different port.
I was also surprised that UTF-8 characters *are* possible in DNS packets
[2]. I was, however, a bit disappointed that "gémeaux.bortzmeyer.org" and
"xn--gmeaux-bva.bortzmeyer.org" didn't exist.
-spc
[1] https://github.com/spc476/SPCDNS
[2] And I was happy to see my library could successfully deal with such,
even as I wasn't conseciously aware of doing so.
More information about the Gemini
mailing list