Re: [squid-users] DNS Question

From: Amos Jeffries <[email protected]>
Date: Fri, 16 Nov 2007 16:15:13 +1300 (NZDT)

> How do I verify that the cache is doing the dns resolution and it
> isn't relying on the client's dns resolution? So the "it" referred
> setting up the cache to do dns resolution and not to use the clients
> dns resolution.
> On Nov 15, 2007, at 1:54 PM, Amos Jeffries wrote:
>
>>> May be I am missing this, but I have not been able to find it. How
>>> do
>>> I have the squid cache do the dns lookup and use that rather than
>>> trusting the address that the client looks up?
>>>
>>
>> 'it' referring to what?
>> When using a proxy clients rarely ever do DNS lookups themselves.
>>
>> Amos
>>
>>
>

Oh. You can:

enable the DNS section of debug logging in cache.log and watch the DNS
lookups in progress.

tcpdump/wireshark the data stream and see who is doing lookup for domains.

log on the local networks DNS server to see who is looking up what when.

(in recent squid) look in squids access.log to see where its requesting
traffic from for any given request.

use 'squidclient mgr:ipcache" to see what squid has resolved each domain to.

Amos
Received on Thu Nov 15 2007 - 20:15:18 MST

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