hello friends,
when i restart the squid that perfectly run.
But when i run the any site thatime generated error msg.
This two msg I find in log file of squid.
access===>
1207235839.042 155014 192.168.1.3 TCP_MISS/503 1510 GET
http://www.google.com/ - DIRECT/www.google.com text/html
store.log====>
1207235839.042 RELEASE -1 FFFFFFFF AC24E91CF7FF8632007B1DB29D70C4C3 503 1207235839 0 1207235839 text/html 1159/1159 GET
http://www.google.com/
Squid is runnig after few minutes this msg is fire in squid log file
cache.log====>
Configuring Parent proxy.myisp.com/3128/3130
2008/04/04 01:35:51| WARNING: DNS lookup for 'proxy.myisp.com' failed!
please give me your idea so I change me code and set the proxy in my System.
proxy file code====>
http_port 192.168.1.3:3128
icp_port 3130
htcp_port 4827
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
cache_mem 8 MB
cache_dir ufs /var/spool/squid 100 16 256
access_log /var/log/squid/access.log
cache_access_log /var/log/squid/acess.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
dns_nameservers 127.0.0.1
hosts_file /etc/hosts
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
#acl localhost src 127.0.0.1/255.0.0.0
#acl to_localhost dst 127.0.0.1/8
acl SSL_ports port 443 563 # https, snews
acl SSL_ports port 873 # rsync
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
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 Safe_ports port 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl PURGE method PURGE
acl CONNECT method CONNECT
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
no_cache deny QUERY
coredump_dir /var/spool/squid
# Rules Is allowed Here Only.
cache_peer proxy.myisp.com parent 3128 3130
# cache_peer proxy.myisp.com parent 3128 3130 no-query # for Telnet
# cache_peer proxy.metronet.co.uk sibling 3128 3130 default
# cache_peer proxy.metronet.co.uk parent 3128 3130 no-query prefer_direct off
#acl PrivateNet src 192.168.1.3
#acl AllowedSites dstdomain
www.google.com
#acl WorkingHours time D 2:50-3:10
#http_access allow WorkingHours AllowedSites
#http_access deny all
#acl http_BlockPort port 80 443
#http_access allow http_BlockPort
#http_access allow all
#acl myip src 192.162.1.3
#http_access allow myip
acl blocksite url_regex -i "etc/squid/squidblocksite.acl"
http_access deny blocksite
http_access allow all
#Require Thing
http_reply_access allow all
icp_access deny all
htcp_access deny all
htcp_clr_access deny all
ident_lookup_access deny all
reply_header_max_size 20 KB allow !all
snmp_access deny all
reply_body_max_size 0 deny all
visible_hostname debian