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

Squid als invertierter Proxy



Hallo!

Ich versuche gerade, auf einem Webserver Squid als invertierten Proxy
einzurichten (nach iX 12/01, S. 148). 
Vom prinzip her scheint mir alles soweit ganz richtig, nur leider
quittiert mir Squid jeden Zugriffsversuch mit der Fehlermeldung
"Unable to determine IP address from host name for xxxx.de"
wobei xxxx.de eine gueltige .de-Domain ist, die auch lokal a) durch
/etc/hosts und b) per nameserver aus /etc/resolv.conf richtig aufgeloest
werden kann.

Nur Squid findet die Domain nicht? 

Hier meine Squid-Konfig. Dabei soll der Squid erst einmal auf Port 81
laufen, waehrend der normale Webserver auf dem selben Rechner aufe Port
80 laeuft. Der Webserver bedient mehrere Virtual Hosts.

-- snip --
http_port xxx.100.35.49:81
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
dns_nameservers xxx.100.32.1
negative_ttl 5 minutes
positive_dns_ttl 6 hours
negative_dns_ttl 5 minutes
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 81
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access allow localhost
http_access allow all
hostname_aliases xxxx.de www.xxxx.de
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_single_host on
httpd_accel_with_proxy off
httpd_accel_uses_host_header on
redirect_rewrites_host_header off
-- snap --

Die cache.log-Datei sagt

-- snip --
2003/01/20 14:31:47| Starting Squid Cache version 2.4.STABLE7 for
i386-debian-linux-gnu...
2003/01/20 14:31:47| Process ID 31605
2003/01/20 14:31:47| With 1024 file descriptors available
2003/01/20 14:31:47| DNS Socket created on FD 5
2003/01/20 14:31:47| Adding nameserver 212.100.32.1 from squid.conf
-- snap --

Ich weiss nicht weiter... :)

-- 
Lukas Kolbe <lk@networker.de>



Reply to: