Avatar of metamatic
metamatic
 asked on

Customised host file to block Facebook and all it's sub domains

There seem to be various customised host files available for download that will block advertising/porn sites

Does anybody know where I can get one that will block facebook and all its sub domains? I've blocked facebook.com, m.facebook.com, blog.facebook.com but i keep finding more. It seems that every country has it's own sub domain (ie fr.fr.facebook.com)
Anti-Virus Apps

Avatar of undefined
Last Comment
DIPRAJ

8/22/2022 - Mon
DMTechGrooup

Instead of a host file most firewalls will allow you to block domains from within.. is this something you only want for a few users or all users? What type of firewall are you using?
ASKER CERTIFIED SOLUTION
mccracky

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
AC_Nova

1.1.1.1        *.facebook.com
AC_Nova

actually scrap that wildcards dont work.

just list all websites e.g

1.1.1.1             fr.facebook.com
1.1.1.2             www.facebook.com
1.1.1.3              gb.facebook.com
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
DIPRAJ

i don't know whether you are using any UTM/Firewall or not...
in a firewall you can enable httpstransparentproxy and can can block the facebook.all this sites are running on HTTPS not on HTTP