14 Oct 04:47
Re: length restrictions on IDN label
Paul Hoffman / IMC <phoffman <at> imc.org>
2002-10-14 02:47:51 GMT
2002-10-14 02:47:51 GMT
At 11:43 AM +0900 10/14/02, Soobok Lee wrote: >Then, > U+AC00 x 56 times (in my previous posting) is a valid label >conforming to RFC1035 ? > and its equivalent ACE label (of 63 octets ) is a valid label ? If it follows the rules for ToASCII, yes. > UTF8-encoded IDN labels are not governed by RFC1035 length restrictions ? There is no such thing. IDN labels are always encoded in ASCII following the rules of STD 13, just as it says in the draft. > IDNA contains brand new length restrictions for 8bit labels >which obsoletes RFC1035 ? No. Where in the draft do you see such "brand new length restrictions"? The current goal of the WG is to fix any unclear statements in the document. We can't do that if you don't say exactly what text you find unclear. --Paul Hoffman, Director --Internet Mail Consortium
Applications , in general, deal with hostnames (smtp?), not abstact
domain names (nslookup,dig?).
It has been clear that i am saying in the context of appliations's
hostname label buffer space problems.
>
> Hostnames are a subset of domain names (ignoring hostnames
> that are larger that 253 and hence not supported by the
> DNS). If you are only dealing with hostnames then you
> should be rejecting domain names that are not legal hostnames.
>
Yes.
> Anything reading unsanitized domainnames has to expect a
> strings bigger than 255 when converted to RFC 1034 presentation
> format.
>
You repeated this twice. And i had agreed.
>
> Some implementations of gethostbyaddr() do this sanitization
> for you. This was also one of the reasons IDNs are converted
> to and from ACSII. ToUnicode should be perform outside of
> gethostbyaddr(). Moving it inside of gethostbyaddr() is a API
RSS Feed