Hello all, I am having a problem in using Squid Cache version 2.6.STABLE12 as a reverse-proxy server for my webserver. Webserver is running on 192.168.7.1 and squid is running on 192.168.7.3 (public-ip:67.107.xx.xx). My hosts config. and squid.conf details are below. First problem is when I start the squid I gets the warning about the 'localhost' as a name server, but squid starts okay and start serving the requests. Second problem is over a period of time I gets 'WARNING: Forwarding loop detected for:' entry in cache.log which causes to squid to stop working and I have to restart the squid to make it operational. Can you please tell me what I'm missing here. Thanks for reading such long loglines. Regards, Suhaib. ---- /etc/resolv.conf --- # Generated by dhcpcd for interface eth0 search bms.local nameserver localhost ---- squid.conf ---- http_port 80 transparent cache_peer 192.168.7.1 parent 81 0 no-query originserver weight=1 http_access allow all acl all src 0.0.0.0/0.0.0.0 icp_access allow all ---- cache.log ---- part-1 2007/06/07 10:34:58| Starting Squid Cache version 2.6.STABLE12 for i686-pc-linux-gnu... 2007/06/07 10:34:58| Process ID 8975 2007/06/07 10:34:58| With 1024 file descriptors available 2007/06/07 10:34:58| Using epoll for the IO loop 2007/06/07 10:34:58| Performing DNS Tests... 2007/06/07 10:34:58| Successful DNS name lookup tests... 2007/06/07 10:34:58| DNS Socket created at 0.0.0.0, port 35084, FD 5 2007/06/07 10:34:58| Adding domain bms.local from /etc/resolv.conf 2007/06/07 10:34:58| Adding nameserver localhost from /etc/resolv.conf 2007/06/07 10:34:58| WARNING: rejecting 'localhost' as a name server, because it is not a numeric IP address 2007/06/07 10:34:58| Warning: Could not find any nameservers. Trying to use localhost 2007/06/07 10:34:58| Please check your /etc/resolv.conf file 2007/06/07 10:34:58| or use the 'dns_nameservers' option in squid.conf. 2007/06/07 10:34:58| Unlinkd pipe opened on FD 10 2007/06/07 10:34:58| Swap maxSize 102400 KB, estimated 7876 objects 2007/06/07 10:34:58| Target number of buckets: 393 2 ---- cache.log ---- part-2 2007/06/05 20:42:35| WARNING: Forwarding loop detected for: Client: 67.107.xx.xx http_port: 67.107.xx.xx:80 GET http://image.xxx.com/pms/graphics/6.05.07directresponse2r1(650x90).gif HTTP/1.0 If-Modified-Since: Tue, 05 Jun 2007 15:15:59 GMT If-None-Match: "19577-1181056559000" Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ= User-Agent: www.clamav.net Host: image.xxxxxxx.com Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Via: 1.1 localhost.localdomain:80 (squid/2.6.STABLE12), 1.0 localhost.localdomain:80 (squid/2.6.STABLE12), 1.0 localhost.localdomain:80 (squid /2.6.STABLE12), 1.0 localhost.localdomain:80 (squid/2.6.STABLE12), 1.0 localhost.localdomain:80 (squid/2.6.STABLE12), 1.0 localhost.localdomai n:80 (squid/2.6.STABLE12), 1.0 localhost.localdomain:80 (squid/2.6.STABLE12), 1.0 localhost.localdomain:80 (squid/2.6.STABLE12), 1.0 localhost .localdomain:80 (squid/2.6.STABLE12), 1.0 localhost.localdomain:80 (squid/2.6.STABLE12) X-Forwarded-For: 24.164.28.34, 67.107.xx.xx, 67.107.xx.xx, 67.107.xx.xx, 67.107.xx.xx, 67.107.xx.xx, 67.107.xx.xx, 67.107.xx.xx, 67.107.xx.xx, 67.107.xx.xx, 67.107.xx.xx, 67.107.xx.xx, 67.107.xx.xx Cache-Control: max-age=259200 Connection: keep-alive