From nobody@FreeBSD.org  Sun Apr  1 03:44: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 2512C16A401
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  1 Apr 2007 03:44: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 170B813C45A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  1 Apr 2007 03:44: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 l313iOu8065743
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 1 Apr 2007 03:44:24 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l313dMdK062874;
	Sun, 1 Apr 2007 03:39:22 GMT
	(envelope-from nobody)
Message-Id: <200704010339.l313dMdK062874@www.freebsd.org>
Date: Sun, 1 Apr 2007 03:39:22 GMT
From: "H.ohata"<Ohata.Hideshi@dx.Mitsubishi.Electric.co.jp>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Resolver does not treat correctlly 2dotted local domain name in resolv.conf
X-Send-Pr-Version: www-3.0

>Number:         111082
>Category:       kern
>Synopsis:       Resolver does not treat correctlly 2dotted local domain name in resolv.conf
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 01 03:50:00 GMT 2007
>Closed-Date:    Sun Apr 01 09:10:44 GMT 2007
>Last-Modified:  Sun Apr 01 09:10:44 GMT 2007
>Originator:     H.ohata
>Release:        6.2-STABLE
>Organization:
Mitsubishi Electric
>Environment:
FreeBSD dec.ohata.local.net 6.2-STABLE FreeBSD 6.2-STABLE #10: Sun Mar 18 06:21:57 JST 2007     root@dec.ohata.local.net:/usr/obj/usr/src/sys/fx200  i386
>Description:
When local domain name in /etc/resolv.conf is defined as
2dots ( aaa.local.net ) , Resolver does not treat
correctlly local domain name.
It treat one dot and aaa part is ignored.
ex.
ping nonexist-host.aaa.local.net was treated as follows,

hostname: nonexist-host.aaa.local.net
domain: local.net
FQDN: nonexist-host.aaa.local.net.local.net

even no dns answer.
As the result of above, ICMP was sent to .local.net
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Sun Apr 1 09:10:42 UTC 2007 
State-Changed-Why:  
duplicate of 110998 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111082 
>Unformatted:
