Sites not blocking like they're supposed to

Please follow the below template, it will help us to help you!

Expected Behaviour:

Pornhub.com and other porn sites should be blocked.

Actual Behaviour:

It's being allowed through. I used this blocklist: https://tspprs.com/dl/porn. I've even added it to the blocklist manually as pornhub.com but when I go on my desktop and go to the site it still goes through. I've even flushed DNS and added the pihole server in manually as the dns on my desktop and have it as the DNS on my Unifi USG.

What is the output of pihole -q -adlist pornhub.com

Here is the output, I can show you the full ist with the -all flag if you like.

pi@raspberrypi:~ $ pihole -q -adlist pornhub.com
  [i] Over 100 results found for pornhub.com
        This can be overridden using the -all option

Please do.

Here you go :slight_smile: . Can only post like 5 links so I tried to get the block lists in there

pi@raspberrypi:~ $ pihole -q -adlist pornhub.com -all
Match found in https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts:
Match found in http://sysctl.org/cameleon/hosts:
Match found in https://hosts-file.net/ad_servers.txt:
Match found in https://hosts-file.net/psh.txt:

There were several links underneath those blocklists

Are you visiting "www.pornhub.com" or "pornhub.com"?

These are two different domains.

I will type in pornhub.com and it autofills to www. I believe but shouldn't it be blocking with with the blocklist anyways? Isn't that the purpose?

If "www.pornhub.com" is not on the blocklist, it will not be blocked.

Regardless of what a browser may auto fill, domain blocking from gravity is exact.

You can add "porn" as a regex and that would block any domain with that word.

Is there a way to add to a blocklist rather then adding individually to the blacklist? I feel like some of my porn blocklists should have that in. Anyways Is there a way to list all blocklists and see what domains are being blocked on it?

You cannot directly modify the blocklists, you can only add to the blacklist. You can add a regex filter to the blacklist to block multiple domains with one filter.

You can go to the blocklist links or view the *.domains files in /etc/pihole to see the contents of the block lists.

Thank you sir