[squid-users] How to run squidclient

Amos Jeffries squid3 at treenet.co.nz
Fri Mar 20 18:25:31 UTC 2015


On 21/03/2015 6:15 a.m., Monah Baki wrote:
> Regarding DNS lookup, if I type nslookup 10.0.0.24 or nslookup
> isn-phc-cache,
> Our nameservers in /etc/resolv.conf are google's name server
> 
> Do I need to resolve first to use squidclient???
> 

No, the squidclient resolving is done as you saw in its output and gets
the right IPv4-only and 127.0.0.1.

The problem will appear later when you view error messages or directory
listings generated by Squid. All the icons and generated URLs will be
using that "isn-phc-cache" as their domain.


I'm not exactly sure what the problem is. Your config is pretty much
default and I dont hit this on my test proxies.

Please try these (mind the wrap):

 squidclient -j isn-phc-cache:3128 cache_object://isn-phc-cache:3128/info

 squidclient -j isn-phc-cache:3128
http://isn-phc-cache:3128/squid-internal-mgr/info

 squidclient -j isn-phc-cache:3128
http://isn-phc-cache/squid-internal-mgr/info

Amos



More information about the squid-users mailing list