Squid a cache

Pavel Just Pavel.Just at ais.cz
Fri Jun 30 11:26:34 CEST 2000


Zdravím

   Snažím se nakonfigurovat strukturu netransparentních proxy keší,
ale nedaří se. Chci, aby Cache2 všechno tahala z Cache1. Situace je:

             gate                      router
           +---------+                +-------------+
           |         |  192.168.1.x   |             | 192.168.2.x
Internet --+ Cache 1 +----------------+ Cache 2     +--------- Browser
           |         |                |             |
           +---------+                +-------------+

Pokud browseru zadám jako proxy Cache1, jede O.K.
Pokud mu zadám jako proxy Cache2, zobrazí jenom něco.
Pravděpodobně to, co je v Cache1. Za směrodatný konfigurační
parametr v konfiguraci Cache2 jsem považoval:

cache_peer gate.ais.cz parent 3128 3130 no-query default

Na Cache1 jsem žádné zvláštní konfigurace neprováděl.

Dotazy končí s následujícím výpisem:



While trying to retrieve the URL: http://www.valmez.cz/ 

The following error was encountered: 

       Unable to determine IP address from host name for www.valmez.cz 

The dnsserver returned: 

       Name Server for domain 'www.valmez.cz' is unavailable. 

This means that: 

 The cache was not able to resolve the hostname presented in the URL. 
 Check if the address is correct. 

Používám squid 2.2STABLE3. router skutečně DNS z Inetu nevidí. Zná pouze intranet.
gate samozřejmě zná.
Kde dělám chybu ?
-----------------------------------
  
  Děkuje

               Pavel Just





More information about the net mailing list