In article 
<CAOEezJTyEf+Sn9ZqQPue1DFUSoFO211YogJ6ufYJxswWzXk=_...@mail.gmail.com> you 
write:
>> For one thing, it doesn't work with IDNs.

>I just tested "26pref-espaƱol.mydomain.com
><http://xn--26pref-espaol-skb.mydomain.com>" in this page
><https://www.verisign.com/en_US/channel-resources/domain-registry-products/idn/idn-conversion-tool/index.xhtml?loc=en_US>
>
>The output looks like "xn--26pref-espaol-skb.mydomain.com". So instead of
>"if string starts with", we should go for "if string contains".

IDNs use a complex encoding and there is no reason to assume the encoding
won't occasionally include the string "26pref".

Really, this is what SRV is for.  It's not hard to program, and we all
know that mail is not the web and the time for DNS lookups (of which
there are already at least two, more if there's multiple MX) is not in
the critical path.  If you want to be clever, do the SRV and MX
lookups at the same time.

_______________________________________________
Uta mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/uta

Reply via email to