RE: about IPcache system [was: Number of cached IP limited]

From: Ilker Gokhan <IlkerG@dont-contact.us>
Date: Fri, 23 Jun 2000 18:35:32 +0300

Yes, true, you can check this mechanism especially if you use internal-dns.
(If you use dnsserver you can use any network monitor to scan sent dns
queries by squid.)
Add 78,3 to the "debug_option" and see cache.log you will see if the IP of
the requested URL is alreary in ipcache, squid will not any query for ip
discovery. At the other situation it will send dns query like this:

2000/06/23 18:21:36| idnsRead: FD 1: received 148 bytes from x.y.t.z
2000/06/23 18:21:36| idnsGrokReply: ID 0x78c, 1 answers
2000/06/23 18:33:02| idnsALookup: buf is 30 bytes for www.whatever.com, id =
0x78d
2000/06/23 18:33:08| idnsRead: FD 1: received 144 bytes from x.y.t.z
2000/06/23 18:33:08| idnsGrokReply: ID 0x78d, 2 answers

Best regards,
Ilker G.

>-----Original Message-----
>From: David Arroyo [mailto:david.arroyo@teknoland.es]
>Sent: Friday, June 23, 2000 5:22 PM
>To: Squid (E-mail)
>Subject: about IPcache system [was: Number of cached IP limited]
>
>
>Oops! Sorry for my last stupid question, but I didn't noticed that
>parameter.
>
>Anyway, I´ve got another question regarding the logic of the
>ipcache system.
>When squid gets via dns the ip address of a host, these ip's
>are saved into
>the iptable. If later we ask for that host (I assume that the
>TTL hasn't
>reached the minumum value for that entry) what action will be
>performed:
>will squid look in the ipcache table or ask again the
>nameserver? I suppose
>that squid will look for the ip into the table, but I'm not 100% sure.
>
>Thanks for your help with this squid newbie user.
>
>
>
>
Received on Fri Jun 23 2000 - 09:36:36 MDT

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