the easiest and most trouble free way to do this is to add a "acl blocked url-regex "/var/chroot-squid/etc/list-of-blocked-domains" to the access control section of squid.conf-default. Then, in the file you create "var/chroot-squid/etc/list-of-blocked-domains" you enter urls or whatnot.