i386/110997: Some Domain IN FreeBSD can't analysis IP
Rui Paulo
rpaulo at fnop.net
Mon Apr 2 17:20:11 UTC 2007
The following reply was made to PR i386/110997; it has been noted by GNATS.
From: Rui Paulo <rpaulo at fnop.net>
To: joejoe <joejoe at saturn.yzu.edu.tw>
Cc: freebsd-gnats-submit at 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
More information about the freebsd-i386
mailing list