I think /etc/hosts.deny and /etc/hosts.allow are files you have to edit
and you would have to add somthing like

.facebook.com

to block all the subdomains

You could read the man page of hosts.deny using

man hosts.deny

Reply via email to