[squid-users] cache peer , force peer to use dns ipv4 not ipv6

Amos Jeffries squid3 at treenet.co.nz
Tue Sep 3 12:31:13 UTC 2019


On 3/09/19 10:33 pm, --Ahmad-- wrote:
> Hello Team , thank you for replies .
> 
> ########################################
> http_port 10.61.8.189:10000 name=10000
> acl 10000 myportname 10000
> never_direct allow 10000
> cache_peer 192.247.37.193 parent 12847 0 no-query  round-robin no-digest
> no-tproxy proxy-only name=peer10000
> cache_peer_access peer10000 allow 10000
> cache_peer_access peer10000 deny all
> ########################################
> 
> Amos do you mean name should be 192.247.37.193 now name=peer10000 ?
> is that what you mean ?
> 

I mean what you have in the above config snippet.

The peer "cache_peer 192.247.37.193 parent" cannot be sometimes
connected to using IPv6 as you described happening.

Amos


More information about the squid-users mailing list