From owner-freebsd-current@FreeBSD.ORG Thu Nov 2 18:29:41 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 5559516A621; Thu, 2 Nov 2006 18:29:41 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mx1.stack.nl (meestal.stack.nl [131.155.140.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5395443D46; Thu, 2 Nov 2006 18:29:29 +0000 (GMT) (envelope-from jilles@stack.nl) Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mx1.stack.nl (Postfix) with ESMTP id 2617F4AF45; Thu, 2 Nov 2006 19:29:28 +0100 (CET) Received: by snail.stack.nl (Postfix, from userid 1677) id 09AE2228B0; Thu, 2 Nov 2006 19:29:27 +0100 (CET) Date: Thu, 2 Nov 2006 19:29:27 +0100 From: Jilles Tjoelker To: Doug Barton Message-ID: <20061102182927.GA20182@stack.nl> References: <20061022095811.GA10743@zaphod.nitro.dk> <453BFD84.5050702@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <453BFD84.5050702@FreeBSD.org> X-Operating-System: FreeBSD 5.5-RELEASE-p1 i386 User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-current@freebsd.org, Hajimu UMEMOTO , "Simon L. Nielsen" 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: Thu, 02 Nov 2006 18:29:41 -0000 On Sun, Oct 22, 2006 at 04:23:48PM -0700, Doug Barton wrote: > 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. It usually gives three of them, for A, AAAA and MX. > >$ 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. It is the answer to the MX query. These triple "is an alias for" are since bind9's host or so. -- Jilles Tjoelker