How to use IPv6 in preference to IPv4?

From: Steve Snyder <swsnyder_at_snydernet.net>
Date: Wed, 20 Aug 2008 22:01:44 -0400

Hello.

[I am not a subscriber to the dev list, so please CC me with any
responses. Thank you.]

I am playing with a 3.HEAD-20080820 build of Squid, to use it's support
for IPv6. It seems to be working well (maybe a little slow relative to
v2.7S4, both on Linux) except for one irritation. Given a site with
both A and AAAA records, Squid always opts for the IPv4 connection.

It seems that a lot of predominantly-IPv6 sites also maintain an IPv4
address, just so they can tell you to get on board with IPv6. For
sites with only AAAA records, Squid does a great job of getting the
content to me.

Even the use of the square-bracket scheme (e.g.
http://[www.kame.net]/ ) isn't enough to coax Squid into IPv6 land when
a IPv4 address is also found by DNS look-up.

How can I instruct Squid to prefer the IPv6 address over an IPv4
address?

Thanks.
Received on Thu Aug 21 2008 - 02:28:29 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 21 2008 - 12:00:05 MDT