Re: [squid-users] Prefer IPv4 or IPv6 connectivity

From: Will Roberts <ironwill42_at_gmail.com>
Date: Sat, 29 Oct 2011 11:58:45 -0400

On 10/29/2011 10:50 AM, Martin Birgmeier wrote:
> I have full IPv4/IPv6 connectivity - with a glitch: one host which
> announces both IPv4 and IPv6 addresses can in fact only be reached over
> IPv4.
>
> How do I configure squid to try only the IPv4 address for this host?
>

You can specify the host's IP address in either your system hosts file
or a hosts file specific to squid. Though if it changes you'll have to
remember you've done that.

Another option it to use tcp_outgoing_address <your IPv4 address> <acl>

Where the acl could be something like:

acl brokenipv6 dstdomain brokendomain.com

--Will
Received on Sat Oct 29 2011 - 15:58:53 MDT

This archive was generated by hypermail 2.2.0 : Sat Oct 29 2011 - 12:00:04 MDT