Re: Which IP address squid will use ?

From: Duane Wessels <>
Date: Thu, 28 Oct 1999 13:05:10 -0600

On Thu, 28 Oct 1999, Authur Lin wrote:

> If I use squid for transparent proxy and the server has 3 IP address
> (with only one ethernet interface), for example address-a, address-b,
> address-c. When a client request a URL and not contained in squid, which
> IP address squid will use to retrieve the URL ? (on our environment, IP
> address will affect the return path from the Internet)

It is likely that your transparent HTTP request has a Host: header.
In that case, Squid does a DNS lookup for the hostname. If Squid
receives three IP addresses in response to that lookup, it will
cycle through those addresses each time it connects to that host.

Duane W.
Received on Thu Oct 28 1999 - 13:16:29 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:49:07 MST