[squid-users] squid and hosts_file on ipv6 not working fine
squid3 at treenet.co.nz
Wed Sep 20 04:12:00 UTC 2017
On 20/09/17 03:54, Ahmed Alzaeem wrote:
> access .log point to other address :
> 1505824835.364 690000 18.104.22.168 TCP_TUNNEL/200 78573 CONNECT
> www.google.com:443 -
> HIER_DIRECT/2404:6800:4009:802::2004 -
> from linux terminal i can reach goole from :
>>> 2607:f8b0:4006:810::200e google.com
> but in squid itself …. no it dont and it reach goole using the
> address2404:6800:4009:802::2004 not 2607:f8b0:4006:810
> so I’m sure the hosts_file directive works for IPV4 not for iPV6 address
FYI: "google.com" is not the same domain as "www.google.com". So your
hosts file line for "www.google.com" is the one that should be used, not
the "google.com" line.
Did you restart or reconfigure Squid after making the hosts file changes?
And, if so does "squid -k parse" show an issues?
And, does the cache manager ipcache report show all these google entries
with a 'H' flag?
More information about the squid-users