From owner-freebsd-i386@FreeBSD.ORG Mon Apr 2 17:20:11 2007 Return-Path: X-Original-To: freebsd-i386@hub.freebsd.org Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 93DEE16A402 for ; Mon, 2 Apr 2007 17:20:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 6CAF113C45E for ; Mon, 2 Apr 2007 17:20:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l32HK8Nw080910 for ; Mon, 2 Apr 2007 17:20:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l32HK8Pi080908; Mon, 2 Apr 2007 17:20:08 GMT (envelope-from gnats) Date: Mon, 2 Apr 2007 17:20:08 GMT Message-Id: <200704021720.l32HK8Pi080908@freefall.freebsd.org> To: freebsd-i386@FreeBSD.org From: Rui Paulo Cc: Subject: Re: i386/110997: Some Domain IN FreeBSD can't analysis IP X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rui Paulo List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2007 17:20:11 -0000 The following reply was made to PR i386/110997; it has been noted by GNATS. From: Rui Paulo To: joejoe Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: i386/110997: Some Domain IN FreeBSD can't analysis IP Date: Mon, 02 Apr 2007 17:57:00 +0100 joejoe wrote: >> Number: 110997 >> Category: i386 >> Synopsis: Some Domain IN FreeBSD can't analysis IP >> Confidential: no >> Severity: critical >> Priority: high >> Responsible: freebsd-i386 >> State: open >> Quarter: >> Keywords: >> Date-Required: >> Class: sw-bug >> Submitter-Id: current-users >> Arrival-Date: Thu Mar 29 06:20:05 GMT 2007 >> Closed-Date: >> Last-Modified: >> Originator: joejoe >> Release: 6.2 Stable >> Organization: > Yuan Ze University >> Environment: > FreeBSD 6.2-STABLE >> Description: > When domain have "_" in FreeBSD can't analysis IP > But in linux , windows or other OS is OK > > EX: > >> How-To-Repeat: > ping stncenter.ets.org > traceroute stncenter.ets.org > nslookup stncenter.ets.org >> Fix: > >> Release-Note: >> Audit-Trail: >> Unformatted: > >ping www.emega.com.tw > ping: cannot resolve www.emega.com.tw: Unknown server error > > >traceroute www.emega.com.tw > traceroute: unknown host www.emega.com.tw > > but nslookup is ok > > nslookup www.emega.com.tw > Non-authoritative answer: > Name: trade_web.emega.com.tw > Address: 203.69.48.131 > Aliases: www.emega.com.tw > > > >ping stncenter.ets.org > ping: cannot resolve stncenter.ets.org: Unknown server error > > >traceroute stncenter.ets.org > traceroute: unknown host stncenter.ets.org > > >nslookup stncenter.ets.org > stncenter.ets.org canonical name = stncenter_vip.ets.org. > Name: stncenter_vip.ets.org > Address: 144.81.87.110 You should not have underscores ("_") in hostnames. RFC 952 (http://www.faqs.org/rfcs/rfc952.html) explains what characters are allowed in a hostname. RFC 1123 (http://www.ietf.org/rfc/rfc1123.txt) relaxes the definition of a hostname a bit by allowing it to start with a digit. nslookup comes from BIND (named) but it does not error out like the resolv library does. So, again, using an underscore gives an unpredictable result: it may work, but it may not. Concluding, I don't think this is a FreeBSD problem. -- Rui Paulo | PGP: F0E4 C7C7 1653 79B7 78DC DD73 64FA B2C6 CF45 1F84