[squid-users] outgoing address for DNS queries per instance
--Ahmad--
ahmed.zaeem at netstream.ps
Mon Aug 5 10:01:13 UTC 2019
Nice !
Thanks Amos !
> On 5 Aug 2019, at 12:57, Amos Jeffries <squid3 at treenet.co.nz> wrote:
>
> 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 8.8.8.8
>> acl next dst 8.8.8.8
>> tcp_outgoing_address 100.100.100.100 next
>>
>>
>> but the problem when i do debug , the src ip that reach 8.8.8.8 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/ <http://www.squid-cache.org/Doc/config/udp_outgoing_address/>>.
> Despite the directive name, it is also used for DNS-TCP traffic.
>
> Amos
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org <mailto:squid-users at lists.squid-cache.org>
> http://lists.squid-cache.org/listinfo/squid-users <http://lists.squid-cache.org/listinfo/squid-users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20190805/7ae4e47a/attachment.html>
More information about the squid-users
mailing list