volker hochstein wrote:

> Every seven hours a dial is performed without any forced action by a
> client.

Squid refreshes the IP addresses of it's peers every hour, and this may
well be the cause to these dials if this Squid is configured to use any
parent / sibling caches.

It may be possible to avoid this DNS lookup by either
* Configure peers using their IP address in squid.conf
or
* Add the peer addresses to /etc/hosts

A simple test to see if this is the cause is to restart Squid with the
-D option while off line. If Squid starts fine without triggering a dial
then the problem is elsewhere.

How my test environment is configured (also behind an automated dialup
line):
1. All peers are listed in /etc/hosts
2. The system is configured to use /etc/hosts prior to DNS queries.
3. The peers are configured like the following:
   cache_peer non-icp-cache.other.domain 80 0 no-query no-digest
no-netdb-exchange 
   cache_peer squid.other.domain 3128 3130 no-digest no-netdb-exchange

---
Henrik Nordstrom
Spare time Squid hacker

Reply via email to