[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#575209: general: Error resolving hostname [resent]



On Wed, 2010-03-24 at 10:50, Fabian Greffrath wrote:
> [Resent, because reportbug somehow ate my line breaks, sorry!]
> 
> Dear all,
> 
> I've found something that is most propbably a bug in Linux's resolv
> system, when trying to open a specific page with Epiphany (but any
> other browser will fail as well, please try out yourself).
> 
> To reproduce, please visit <http://www.deviantart.com/> and search
> for "SNES". On the first results page a picture called "SNES World
> HD" should appear. Try to click this picture. Your browser will fail
> to resolv the hostname and even ping won't be able to:
> 
>   $ ping KeR-.deviantart.com
>   ping: unknown host KeR-.deviantart.com
> 
> However, nslookup returns the right IP address and this page even
> loads under both Windows XP and Mac OS X:
> 
>   $ nslookup KeR-.deviantart.com
>   Server: 134.147.57.130
>   Address: 134.147.57.130#53
> 
>   Non-authoritative answer:
>   KeR-.deviantart.com   canonical name = www.deviantart.com.
>   Name: www.deviantart.com
>   Address: 8.10.77.140

Labels must end and begin only with a letter or digit.

RFC 1035 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.

> I believe this bug is caused by the dash character in the domain
> name, but I don't have any further knowledge of Linux's resolv
> system. As you are the experts, please point me to where I can help
> to trace this bug.
> 

-- 
Kind regards,  Milan


Reply to: