From nobody@FreeBSD.org  Thu Mar 29 06:11:25 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id EFD0716A401
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 29 Mar 2007 06:11:25 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id E1C7813C458
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 29 Mar 2007 06:11:25 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l2T6BPE5068907
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 29 Mar 2007 06:11:25 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l2T66NOG068200;
	Thu, 29 Mar 2007 06:06:23 GMT
	(envelope-from nobody)
Message-Id: <200703290606.l2T66NOG068200@www.freebsd.org>
Date: Thu, 29 Mar 2007 06:06:23 GMT
From: joejoe<joejoe@saturn.yzu.edu.tw>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Some Domain IN FreeBSD can't analysis IP
X-Send-Pr-Version: www-3.0

>Number:         110997
>Category:       i386
>Synopsis:       Some Domain IN FreeBSD can't analysis IP
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 29 06:20:05 GMT 2007
>Closed-Date:    Thu Mar 29 07:48:30 GMT 2007
>Last-Modified:  Mon Apr  2 17:20:04 GMT 2007
>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:
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Thu Mar 29 07:48:28 UTC 2007 
State-Changed-Why:  
Duplicate of kern/54189 

http://www.freebsd.org/cgi/query-pr.cgi?pr=110997 

From: Rui Paulo <rpaulo@fnop.net>
To: joejoe <joejoe@saturn.yzu.edu.tw>
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
>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
 
 
