Lists

I'm using lists to block porn like the following:
https://github.com/chadmayfield/pihole-blocklists/raw/master/lists/pi_blocklist_porn_all.list
and
https://raw.githubusercontent.com/chadmayfield/pihole-blocklists/master/lists/pi_blocklist_porn_top1m.list

The problem is if a domain is the list like porn.com and I do nslookup its blocked. But if I do a lookup on www.porn.com the site resolves and therfore I can visit.

Granted the list does not contain the www variants of the name, just the domain name. I thought by loading the list pi-hole would be crafty enough to block both.

Do I have to edit the lists? If so, not sure what the use is by loading in the first place. Is there a setting some place to have the system recognize the domain to auto block the www or sub domain? Or perhaps a script that I can run?

Please help :slight_smile:

This is the way it works. A "domain" and "www.domain" are two different entities on the internet. Some related threads at the bottom. The solution is to expand the block lists (or the resulting gravity list) to put "www" at the beginning, and also have the plain domain on the list as well. I think some users may have done some work with scripts that do this - @anon55913113?

Some of the porn-blocking lists already have this in place - https://tspprs.com is one. I have read that their list is fairly effective.

If your goal is to create a kid-friendly network, you might also consider using OpenDNS or another one of the filtered upstream DNS providers. They do some blocking at the source.

If there are any remaining that sneak through, a blacklist entry would knock them out. An additional option that would work for any sites that sneak through after this would be regex filters.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.