Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2006 19:29:27 +0100
From:      Jilles Tjoelker <jilles@stack.nl>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        freebsd-current@freebsd.org, Hajimu UMEMOTO <ume@FreeBSD.org>, "Simon L. Nielsen" <simon@FreeBSD.org>
Subject:   Re: Resolver not always resolving hostnames
Message-ID:  <20061102182927.GA20182@stack.nl>
In-Reply-To: <453BFD84.5050702@FreeBSD.org>
References:  <20061022095811.GA10743@zaphod.nitro.dk> <453BFD84.5050702@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061102182927.GA20182>