View Full Version : [ubuntu] How to block websites?

November 12th, 2008, 12:00 PM
How can I do followings?

1. How can I block a site? e.g. http://a.example.com

2. How to block all http://*.example.com except http://exception.example.com ?

November 12th, 2008, 12:02 PM
It might be worth looking at the opendns website. If you create an account with them you get a handy control panel for whitelisting and blacklisting sites.

November 12th, 2008, 12:10 PM
an easy way is just add them your /etc/hosts

with a bogus address.