From owner-freebsd-bugs@FreeBSD.ORG Sun Jan 16 18:20:11 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03DA01065670 for ; Sun, 16 Jan 2011 18:20:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BAF998FC15 for ; Sun, 16 Jan 2011 18:20:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p0GIKACt035507 for ; Sun, 16 Jan 2011 18:20:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p0GIKAbv035506; Sun, 16 Jan 2011 18:20:10 GMT (envelope-from gnats) Resent-Date: Sun, 16 Jan 2011 18:20:10 GMT Resent-Message-Id: <201101161820.p0GIKAbv035506@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Breeze Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71B021065679 for ; Sun, 16 Jan 2011 18:14:29 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (unknown [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 60EBE8FC13 for ; Sun, 16 Jan 2011 18:14:29 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p0GIETnb054096 for ; Sun, 16 Jan 2011 18:14:29 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p0GIETcW054095; Sun, 16 Jan 2011 18:14:29 GMT (envelope-from nobody) Message-Id: <201101161814.p0GIETcW054095@red.freebsd.org> Date: Sun, 16 Jan 2011 18:14:29 GMT From: Breeze To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/154060: Server Unknown Error while resolve ip by the name with minus before dot X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jan 2011 18:20:11 -0000 >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: