プロキシについて(squid)
Linuxでプロキシをするためにsquidを使いました。
IEのプロキシアドレスをそのLinuxのサーバーに設定して、アクセスしてみると
以下のエラーが発生しました。
While trying to retrieve the URL: http://www.yahoo.co.jp/
The following error was encountered:
Unable to determine IP address from host name for www.yahoo.co.jp
The dnsserver returned:
Server Failure: The name server was unable to process this query.
This means that:
The cache was not able to resolve the hostname presented in the URL.
Check if the address is correct.
Your cache administrator is root.
--------------------------------------------------------------------------------
Generated Sat, 24 Jan 2004 05:14:41 GMT by localhost.localdomain (squid/2.5.STABLE1)
ちなみにsquid.confは以下のとおりです。
http_port 8080
icp_port 0
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
acl manager proto cache_object
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl rb_local src 192.168.0.0/16
http_access allow localhost
http_access allow rb_local
http_access deny all
icp_access allow all