On Mon, 24 Nov 2003, Venkatesh. K wrote: > Nope. It is better to cache dns lookups in squid even though you end up > using some memory for ip and dns cache in squid. > > I don't have real stats on the performance hit if squid does not cache ip > and name lookups, but I like to play safe.
You can't disable the ip_cache. It is required for proper operation. You can limit it's size somewhat, but generally there is no reason to do so as it is not very big to start with. If your current DNS server is on a high latency link then running a caching DNS for Squid and other DNS uses is recommended, alternatively increase the ipcache size in squid.conf. Please keep in mind that a caching DNS server can use quite a fair bit of memory, so keep an eye on total memory usage by the system after making such change. Regards Henrik