[squid-users] ERROR connecting to squid proxy server

Amos Jeffries squid3 at treenet.co.nz
Tue Dec 1 11:53:49 UTC 2020


On 1/12/20 8:20 pm, Reshma V Kumar wrote:
> Hi all,
> I am testing squid 4.13 on AIX 7.2. I started the squid proxy server in 
> the foreground using the following command
> */opt/freeware/sbin/squid_32 -f /opt/freeware/etc/squid/squid.conf -d3 
> --foreground*
> To test if the squid proxy server is working or not, the following curl 
> command is run which always give Service Unavailable error

> *$ curl -x http://x.xx.xx.xxx:3128 <http://9.47.64.198:3128> -I 
> http://www.google.com <http://www.google.com>
> HTTP/1.1 503 Service Unavailable
> Server: squid/4.13
> Mime-Version: 1.0
> Date: Tue, 01 Dec 2020 06:26:43 GMT
> Content-Type: text/html;charset=utf-8
> Content-Length: 3698
> X-Squid-Error: ERR_DNS_FAIL 0
> Vary: Accept-Language
> Content-Language: en
> X-Cache: MISS from fvt-p7a2-lp17.pok.stglabs.ibm.com
> Via: 1.1 fvt-p7a2-lp17.pok.stglabs.ibm.com (squid/4.13)
> Connection: keep-alive*

> I have attached the output of the squid command running in foreground.
> Any idea why this is happening?

The error message tells you what is going wrong. It says: DNS Failure.

The cache.log should contain more details about which DNS server(s) 
failed and where the DNS server details came from.


Amos


More information about the squid-users mailing list