Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2004 03:41:49 -0000
From:      "Dave Hart" <davehart@davehart.com>
To:        "Tim Robbins" <tjr@freebsd.org>, <freebsd-stable@freebsd.org>
Subject:   RE: ftp.perl.org strangeness
Message-ID:  <255A839665EA24408EB27A6AAE15518EAC1D@europa.ad.hartbrothers.com>

next in thread | raw e-mail | index | archive | help
> On Tue, Mar 16, 2004 at 09:27:27AM -0500, Louis A. Mamakos wrote:
> >=20
> > Wouldn't it be nice to be able to configure the default behavior of=20
> > the resolver to not query AAAA records first, before looking for A=20
> > records? [...]
=20
Tim Robbins noted:
> This was discussed recently on -current:
> =
http://marc.theaimsgroup.com/?l=3Dfreebsd-current&m=3D107607971200977&w=3D=
2

That thread might lead one to believe that destination address
selection in -CURRENT would give the described behavior, but
I'm not so sure.  Destination address selection comes into
play after you have resolved names to addresses.  My guess is
even with IPv4 destination addresses preferred in
/etc/ip6addrctl.conf the resolver will still query for both
AAAA and A records when the client is IPv6-enabled.  If the
AAAA query comes first and a bork load balancer returns
NXDOMAIN, the negative response will likely be cached and
result in the subsequent A query failing as well, meaning no
IPv4 address to prefer.

Dave Hart
davehart@davehart.com



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