From owner-freebsd-current@FreeBSD.ORG Sun Oct 22 23:23:55 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7AC916A403 for ; Sun, 22 Oct 2006 23:23:55 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.FreeBSD.org (Postfix) with SMTP id B301C43D83 for ; Sun, 22 Oct 2006 23:23:52 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 24232 invoked by uid 399); 22 Oct 2006 23:23:52 -0000 Received: from localhost (HELO ?192.168.0.4?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 22 Oct 2006 23:23:52 -0000 Message-ID: <453BFD84.5050702@FreeBSD.org> Date: Sun, 22 Oct 2006 16:23:48 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: "Simon L. Nielsen" References: <20061022095811.GA10743@zaphod.nitro.dk> In-Reply-To: <20061022095811.GA10743@zaphod.nitro.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, Hajimu UMEMOTO Subject: Re: Resolver not always resolving hostnames X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Oct 2006 23:23:55 -0000 Simon L. Nielsen wrote: > I also seen odd things happen with host(1). These two commands were > run right after each other. I don't know if it's related, but I > suspect it is. > > $ host cvsup3.dk.freebsd.org > cvsup3.dk.freebsd.org is an alias for mirror03.inet.tele.dk. > cvsup3.dk.freebsd.org is an alias for mirror03.inet.tele.dk. You got a double answer here because by default host(1) searches for both A and AAAA records for hostnames. > $ host cvsup3.dk.freebsd.org > cvsup3.dk.freebsd.org is an alias for mirror03.inet.tele.dk. > mirror03.inet.tele.dk has address 195.41.53.219 You got an answer for the A query here for mirror03.inet.tele.dk. > cvsup3.dk.freebsd.org is an alias for mirror03.inet.tele.dk. You got an answer here for the AAAA query for cvsup3.dk.freebsd.org. > cvsup3.dk.freebsd.org is an alias for mirror03.inet.tele.dk. This is probably an error, and if it's what I think it is this problem is fixed in the latest version of BIND. Whether this behavior of chasing AAAA by default is a good thing or not is an open question, but there you go. hth, Doug -- This .signature sanitized for your protection