Search squid archive

Re: cache_peer and DNS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 14 Mar 2010 14:34:36 -1000, Jean-Denis Girard wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> I've used cache_peer without troubles for some time. Recently, I was
> asked to add 2 hosts (site.dom1.com and site.dom2.com) through a
> specific cache_peer, and it fails with DNS error: "Name Error: The
> domain name does not exist.". The peers have no DNS resolution on the
> squid server, only on the cache_peer server.
> 
> I have tried first:
> cache_peer peer.dom.com parent 80 0 default no-query
> cache_peer_domain peer.dom.com site.dom1.fr site.dom2.fr
> 
> Then:
> cache_peer_domain peer.dom.com .dom1.fr .dom2.fr
> 
> Then:
> acl xxx dst site.dom1.com site.dom2.com


"dst" Requires DNS lookup to find the IP address of the ACL listed domains
and again to match that against the IP address of the requested domain
name.

Use "dstdomain" with peering when you know the domain names.

Amos

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux