Re: How to use IPv6 in preference to IPv4?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 21 Aug 2008 23:46:32 +1200

Steve Snyder wrote:
> On Thursday 21 August 2008 04:04:46 am Amos Jeffries wrote:
>> Steve Snyder wrote:
>>> 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?
>> Should not be. I coded it specifically to prefer v6 if working.
> [snip]
>
> It turned out to be a browser caching problem. Once I cleared my cache
> all was well.
>
> Sorry for the false alarm, and thank you for all your efforts on getting
> IPv6 support into Squid.

:-) gotta love those broken browser caches.

Amos

-- 
Please use Squid 2.7.STABLE4 or 3.0.STABLE8
Received on Thu Aug 21 2008 - 11:46:22 MDT

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