[squid-users] Squid Proxy not blocking websites

Amos Jeffries squid3 at treenet.co.nz
Wed May 6 22:48:11 UTC 2020


On 6/05/20 10:20 pm, Arjun K wrote:
> Hi Amos
> 
> Could you please share a sample configuration file containing allow and
> deny sites defined in a text file so that I can put the same format with
> my acls and validate in my environment.
> 

I did in my earlier post. If you want more search the wiki for
"dstdomain" - it is used in a lot of examples.



> With respect to denylist format, can you let me know which format I
> should use for blocking in dstdomain
> 
> .<website>.com     (or) 
> www.website.com <http://www.website.com>  (or )
> *. <website.com> 
> 

If you are to manage Squid without someone else doing your work for you
every time, then you need to understand the config syntax.

The only think I can add that has not already been written is that you
consider the question:
  Have you ever seen a URL with "*" in the domain name?


Amos


More information about the squid-users mailing list