Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jan 2011 18:14:29 GMT
From:      Breeze <breeze.fbn@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/154060: Server Unknown Error while resolve ip by the name with minus before dot
Message-ID:  <201101161814.p0GIETcW054095@red.freebsd.org>
Resent-Message-ID: <201101161820.p0GIKAbv035506@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         154060
>Category:       misc
>Synopsis:       Server Unknown Error while resolve ip by the name with minus before dot
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 16 18:20:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Breeze
>Release:        FreeBSD 8.2-PRERELEASE
>Organization:
Fishbone Crew
>Environment:
uname -a
FreeBSD magictower.usys.su 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #2: Mon Jan 10 10:41:12 EET 2011     breeze@magictower.usys.su:/usr/obj/usr/src/sys/DRAGON  i386
>Description:
You've probably heard about the site deviantart.com. This site has a user account with "zi-" name and complete address is http://zi-.deviantart.com . When I try resolves this address using nslookup (dig or host) is not a problem but when trying to open this address from any browser or execute the command ping for this host, I get the error "ping: cannot resolve zi-.deviantart.com: Unknown server error"

Nevertheless, if the address register in the /etc/hosts "199.15.160.42 zi-.deviantart.com" problem is solved.

I think that the system does not properly handle dns names with a minus in front of the dot, since if the minus is between letters is not a problem.

p.s. The problem was not detected in OS windows >_<
>How-To-Repeat:
make "ping zi-.deviantart.com" and get the error message
>Fix:
Is't very good idea but as temporally solution write string in the /etc/hosts file for each problematic address :(

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101161814.p0GIETcW054095>