[squid-users] ACL based DNS server list

Alex Rousskov rousskov at measurement-factory.com
Wed Oct 26 13:25:06 UTC 2022


On 10/25/22 21:27, Sneaker Space LTD wrote:

> Is there a way to use specific DNS servers based on the user or 
> connecting IP address that is making the connection by using acls or any 
> other method? If so, can someone send an example.

One can write an external ACL helper that will use whatever DNS servers 
it wants. The helper can receive the user name or client-Squid 
connection IP address(es) as transaction input. The helper can make 
match/mismatch decisions and can annotate the transaction as needed.

There is currently no way to configure Squid to select DNS resolvers 
based on transaction properties.


HTH,

Alex.



More information about the squid-users mailing list