Block entire domain in squid doesnt work
I have some troubles with my Squid config. For exmple I want to block the entire domain "facebook.com", but when I ad it to my ACL-file I still can access for example "new.facebook.com" and all other subdomains in that domain.
I have also tried to block for example:
.facebook.com
*facebook.com
*.facebook.com
But nothing works. The only way to block domain and subdomains in my case is to block each subdomain itself, and that is to much work for every site I'd like to block.
I solved this by adding a block of URL contents with url_regex, so if the word "facebook.com" is in the URL, then the site is blocked. But I don't think this is a good solution.
Do someone know a good solution for this?
|