PiHole - Block all social media

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

Expected Behaviour:

I am trying to block all social media.

Actual Behaviour:

I don't know how to do it - I am just using one regex which I have found via duckduckgo on github:
^(.+.)?(facebook|fb(cdn|sbx)?|tfbnw).[^.]+$

Dear all,

first of all thanks for creating Pi-hole :slight_smile:

Unfortunately I am really new to Pi-hole and the whole regex blocking is new to me. I just added the above mentioned regex to Pi-hole, so that facebook gets blocked. However, instagram, snapchat, ... are still working on many sites.
Shall I create another regex for instagram, snapchat? Or shall I search the web for another blocklist?
If I am going to choose regex, what would it look like? Shall I just replace facebokk with instagram / snapchat?

Any help would be appreciated!

Thanks and keep up the great work!
Tim

You can look on the web for blocklists, but your results may be not what you expect. Certainly worth a look though.

If you know the social media sites you want to block, then add a wildcard block for each of the main domain words as a start, then see what leaks through and block them as well.

For example, add facebook.com to the blacklist and "add (wildcard)" and this will be converted by Pi-hole to a regex. Facebook.com and all domains are blocked. Do the same for instagram, snapface, chatbook, etc....

(You can tell I don't use any of these sites, since I butcher the names) :grinning:

Hey jfb!

Thank you for your quick response! I am glad that I am not the only one which is not using the sites :smiley: I've just added instagram.com as suggested via add wildcard and it's working like a charm so far! Going to do the same with the other "social" sites :slight_smile: (Oh boy I miss the good ol' days when IRC used to be "the" social network ^_^)

Many thanks for your help and have a great night!

Kind regards
Tim

1 Like

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