Answer the question
In order to leave comments, you need to log in
How to block some sites in Ubuntu 14.04.3?
Hello.
It is necessary to block certain sites, the browser is Mozilla. I tried to enter something like:
127.0.0.1 toster.ru in /etc/hosts and also in /etc/host.deny - it did not help. I also tried to do the following after the previously listed manipulations: sudo /etc/init.d/nscd restart . In the end, nothing helped.
Is there a solution to this problem? Preferably, without third-party programs, well, if it’s easier with them, then it’s possible with them.
Answer the question
In order to leave comments, you need to log in
Entries in /etc/hosts take effect immediately.
What does "didn't help" mean?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question