<div dir="ltr"><div class="gmail_default" style="color:rgb(39,78,19)">Good day Folks,</div><div class="gmail_default" style="color:rgb(39,78,19)">Please I tried to block websites like <a href="http://youtube.com">youtube.com</a> and <a href="http://facebook.com">facebook.com</a> using acl dstdomain directive without success. </div><div class="gmail_default" style="color:rgb(39,78,19)"><br></div><div class="gmail_default" style="color:rgb(39,78,19)">Squid replied the above error:</div><div class="gmail_default" style="color:rgb(39,78,19)"><div class="gmail_default">erickom@proxy:/etc/squid3$ sudo squid3 -z</div><div class="gmail_default">2017/06/20 15:37:37| ERROR: '.<a href="http://google.com">google.com</a>' is a subdomain of '<a href="http://google.com">google.com</a>'</div><div class="gmail_default">2017/06/20 15:37:37| ERROR: You need to remove '.<a href="http://google.com">google.com</a>' from the ACL named 'ban_list'</div><div class="gmail_default">FATAL: Bungled /etc/squid3/squid.conf line 57: acl ban_list dstdomain "/etc/squid3/ban_list"</div><div class="gmail_default">Squid Cache (Version 3.4.8): Terminated abnormally.</div><div class="gmail_default">CPU Usage: 0.004 seconds = 0.004 user + 0.000 sys</div><div class="gmail_default">Maximum Resident Size: 37520 KB</div><div class="gmail_default"><br></div><div class="gmail_default"><br></div><div class="gmail_default">See below my <span style="color:rgb(0,0,0);font-family:monospace">ban_list file</span>:</div><div class="gmail_default"><span style="font-family:monospace"><span style="color:rgb(0,0,0)">erickom@proxy:/etc/squid3$ cat ban_list </span><br><a href="http://google.com">google.com</a>
<br>.<a href="http://google.com">google.com</a>
<br><a href="http://youtube.com">youtube.com</a>
<br>.<a href="http://youtube.com">youtube.com</a>
<br><a href="http://facebook.com">facebook.com</a>
<br>.<a href="http://facebook.com">facebook.com</a><br>
<br></span></div><div>Please assist</div><div><br></div><div>Thanks</div></div></div>