Re: [squid-users] DNS Question

From: Amos Jeffries <squid3@dont-contact.us>
Date: Mon, 19 Nov 2007 23:27:38 +1300

Matus UHLAR - fantomas wrote:
>> On tor, 2007-11-15 at 19:24 -0800, Joseph Jenkins wrote:
>>> I verified that the squid cache is not using it's own dns resolution
>>> for the clients browsing, instead it is relying on the client's dns
>>> resolution.
>
> On 17.11.07 13:36, Henrik Nordstrom wrote:
>> Very much doubt this. It's not technically possible for Squid to even
>> know the result of the clients DNS lookup unless you run Squid in
>> transparent interception mode. And even then Squid do not trust the
>> originally requested IP to match the request and performs it's own DNS
>> lookup.
>
> So I can't test my new http server configured to provide some hostname
> from behind proxy, when the hostname doesn't point to the new server?

Proxy can be configured with cache_peer to pass all requests for a given
domain to a certain back-end server. The request squid passes back can
be/is done as a normal client-server request.

That is IFF the hostname points at the proxy, as is normally done is
accelerator setups.

Amos
Received on Mon Nov 19 2007 - 03:27:58 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:02 MST