From owner-freebsd-stable@FreeBSD.ORG Thu May 4 23:39:58 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62EA216A419 for ; Thu, 4 May 2006 23:39:58 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (gw4.mahoroba.org [218.45.22.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46E7443D93 for ; Thu, 4 May 2006 23:39:43 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from kasuga.mahoroba.org (IDENT:q2EJ3MTBxFxLk+kTh6ASiWFq1ZomdJD0XvOop8ZvFErkeGz5Aez9uQtKQUtqh1tS@kasuga-iwi.mahoroba.org [IPv6:3ffe:501:185b:8010:212:f0ff:fe52:6ac]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.6/8.13.6) with ESMTP/inet6 id k44NcKN1095254 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 5 May 2006 08:38:22 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Fri, 05 May 2006 08:38:20 +0900 Message-ID: From: Hajimu UMEMOTO To: Jan Gyselinck In-Reply-To: <20060501204640.B8351@fire.b0rken.net> References: <20060501204640.B8351@fire.b0rken.net> User-Agent: xcite1.38> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.50 (i386-unknown-freebsd6.1) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 6.1-RC X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.1.5 (ameno.mahoroba.org [IPv6:3ffe:501:185b:8010::1]); Fri, 05 May 2006 08:38:22 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on ameno.mahoroba.org Cc: stable@freebsd.org Subject: Re: resolver behaviour regarding searchlist and A/AAAA query replies X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2006 23:39:58 -0000 Hi, >>>>> On Mon, 1 May 2006 20:46:40 +0200 >>>>> Jan Gyselinck said: Jan> What I find strange though, is the fact it's now applying the searchlist Jan> to get an answer on the AAAA query. Other than the fact this could Jan> potentially give unpredictable results in specific situations, I find Jan> this rather illogical. Since one of the queries (A or AAAA) succeeded Jan> we _know_ the host in question exists (and the searchlist is there to Jan> make non-fqdn queries work for 'local' hosts, by applying the searchlist Jan> if the host does not seem to exist). So, in short, isn't this a bug? Which application did you use? The application which doesn't use getaddrinfo(3) has this issue, and it cannot be fixed without re-writing the application to use getaddrinfo(3). Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/