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