Comment 17 for bug 121467

Revision history for this message
David Blanco (dablanco) wrote : Re: unable to acces to a specific url with any navigator.

I think this is not a bug related with any browser nor the operating system. AFAIK using a "-" before the dot is not allowed by at least RFC 1035 (Domain names - implementation and specification), which says:

"The labels must follow the rules for ARPANET host names. They must
start with a letter, end with a letter or digit, and have as interior
characters only letters, digits, and hyphen. There are also some
restrictions on the length. Labels must be 63 characters or less."

It´s clear to me that "-whatever-.dot.com" is an illegal host name and then it must not be resolved. The fact is that any application that relies its name resolving in C´s "gethostbyname" calls (on Linux: ping, dig, nslookup, and the like...) will fail with illegal host names, which IMHO is the right behaviour.

Please someone let me know if I am wrong. Anyway, it´s not a firefox issue :)

Greetings from Spain