Can't block a subdomain in /etc/hosts
- Login o registrati per inviare commenti
Hello guys,
I have some problems blocking a facebook subdomain in /etc/hosts. I am able to block facebook.com but I cannot block a subdomain called ro-ro.facebook.com.
I'm typing everything as I should but it just doesn't work, it's very weird.
Did anyone met with this problem, with facebook subdomains and knows how to solve it ?
In case you ask yoursels why I'm trying to do that, the reason is that I want to cure a friend from this disease called facebook.
Thanks in advance.
Best regards,
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
- Login o registrati per inviare commenti