Gervase, On Aug 25, 2008, at 2:27 PM, Gervase Markham wrote: > David Conrad wrote: >> What is this code trying to do? > The code you quoted returns the number of domain labels, counting from > the right hand end, which are used to make up the "domain" property > (e.g. 2). The code works this way because those are the terms in which > the algorithm was described to me.
I'm having a bit of trouble understanding the logic behind the algorithm. For example, why are TV, PL, and GR treated as special cases? What does it mean when it says '"tv" is a special-case "completely flat" ccTLD for historical reasons." when TV is _far_ from the only ccTLD that is "completely flat"? What is the expected behavior when faced with a TLD like (say) JP that has both a flat name space and a structured name space (that is, names like foo.jp and foo.co.jp both exist)? Rule 5 implies that all IDN ccTLDs will be considered gTLDs -- is that intended? Why are only 7 of the original TLDs checked in rule 6? > Have you tried running it on some example FQDNs, like www.google.com > or > foo.bar.se? That should give an idea of what it does overall. Yes. Hence my confusion. Let me rephrase my question: What are the requirements this code is trying to meet? Regards, -drc _______________________________________________ DNSOP mailing list [email protected] https://www.ietf.org/mailman/listinfo/dnsop
