From owner-freebsd-bugs@FreeBSD.ORG Sun Jan 16 22:30:16 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 78E30106566B for ; Sun, 16 Jan 2011 22:30:16 +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 4C7458FC19 for ; Sun, 16 Jan 2011 22:30:16 +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 p0GMUFpo000381 for ; Sun, 16 Jan 2011 22:30:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p0GMUFp4000378; Sun, 16 Jan 2011 22:30:15 GMT (envelope-from gnats) Date: Sun, 16 Jan 2011 22:30:15 GMT Message-Id: <201101162230.p0GMUFp4000378@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Vladislav V. Prodan" Cc: Subject: Re: 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 Reply-To: "Vladislav V. Prodan" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jan 2011 22:30:16 -0000 The following reply was made to PR misc/154060; it has been noted by GNATS. From: "Vladislav V. Prodan" To: Breeze Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/154060: Server Unknown Error while resolve ip by the name with minus before dot Date: Mon, 17 Jan 2011 00:27:16 +0200 16.01.2011 20:14, Breeze пишет: >> 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 :( > # host -v zi-.deviantart.com host: convert UTF-8 textname to IDN encoding: prohibited character found -- Vladislav V. Prodan VVP24-UANIC +38[067]4584408 +38[099]4060508 vlad11@jabber.ru