Has someone attempted this before and still has the command lieng around? I have been reading stuff about grep and think it has to do with it but the man page looks like kantonese to me
Because I can access the websites inside the list. PiHole is working. It blocks some things. It arrives at my pc. I flashed all dns things I deactivated all rouge browser dns shenanigans. I'm sick of it I rather block a bunch of wrong websites than none at all. I almost only use imgur,reddit,lydia,skillshare,mega,steam,igg-games and some streamingwebsites anyways.
So in order to proof my point I tried to make a video/gif but it failed whiel encoding. However here is what I did:
Close Firefox -> ipconfig /all -> ipconfig /flashdns -> ccleaner clear all cache of firefox and chrome -> manually clear cache of firefox -> clear history cache thing -> enter 3 websites that should be blocked -> all are unreachable -> go to google -> search porn -> click first website -> www.fuq.com -> go back to pihole settings -> query fuq.com -> entry found but not with www. > add www.fuq.com as wildcard and exact entry manually -> redo all the cache flushing -> www.fuq.com is still accessible -> other sites like pornhub.com are not.
This works with multiple sites. 3movs.com would also be accesable if I didn't add a wildcard fo rit.
The referenced block list in your OP has about 1.76 million domains listed. Of that number, less than 100 have the "www." version of a domain. Perhaps that's not a very good list to use.
If you were to convert each of the 1.76 million domains to a regex, it would take your Pi about a week to compile them all and they would likely slow your Pi to a crawl after compiling.
A better approach would be to look at patterns in the domain names. The list you reference has 1.3 million domains that contain the word blogspot - example: -porno-sample-vids-.blogspot.tw
Write a single regex that blocks all domains containing the word blogspot, and that takes the place of all 1.3 million domains on that list.
Similarly you can do this with other key words, like porn or fuq, etc.