[squid-users] outgoing address for DNS queries per instance
squid3 at treenet.co.nz
Mon Aug 5 09:57:04 UTC 2019
On 5/08/19 9:33 pm, --Ahmad-- wrote:
> Hello folks
> i have 3 squid instances and i want to have different external ip for each squid instance .
> i believed acls of dst ip of dns should work .
> but i even tested it didnt with the outgoing address .
> dns_nameservers 188.8.131.52
> acl next dst 184.108.40.206
> tcp_outgoing_address 100.100.100.100 next
> but the problem when i do debug , the src ip that reach 220.127.116.11 is no 100.100.100.100 and its only the ip address of the main machine .
> any help ?
DNS uses <http://www.squid-cache.org/Doc/config/udp_outgoing_address/>.
Despite the directive name, it is also used for DNS-TCP traffic.
More information about the squid-users