[squid-users] cache_peer and DNS

From: Jean-Denis Girard <jd.girard_at_sysnux.pf>
Date: Sun, 14 Mar 2010 14:34:36 -1000

-----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
never_direct allow xxx
cache_peer_access peer.dom.com allow xxx

- From squid logs, I see that the cache_peer is never contacted for those
requests.

What I have done wrong in that simple setup?

Thanks,
- --
Jean-Denis Girard

SysNux Systèmes Linux en Polynésie française
http://www.sysnux.pf/ Tél: +689 50 10 40 / GSM: +689 79 75 27
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAkudgJwACgkQuu7Rv+oOo/ju7gCfWK2LxDJkNMmi7gBUsmsBtz3A
KE8Anj1A7VmpaAglb5cYTJsvajpi50GF
=I+0U
-----END PGP SIGNATURE-----
Received on Mon Mar 15 2010 - 00:34:43 MDT

This archive was generated by hypermail 2.2.0 : Mon Mar 15 2010 - 12:00:04 MDT