Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've currently got Little Snitch on my Mac OS X which work very well for blocking most things except recently I've noticed my web access slowing down or even hanging altogether on particular websites.

When it does slow down I can quickly see in the browser which domain it is and I simply add it as a rule to block. Everything works great and all website now seem to load quicker too - but it's annoying to do that every time and not only that but the uneasy feeling I get that somebody's actively watching you all the time!

Is there a Mac tool out there that can simply block top level domains?


share|improve this question
up vote 2 down vote accepted

I'm not sure if this is an acceptable solution, but OpenDNS might offer some of the functionality you're after. You can block certain domains from the web interface, and also make redirects etc.

share|improve this answer

This OSX Daily article suggest a neat trick where you add the relevant domain to your hosts file and then point it to Nice way to ensure the traffic won't go anywhere but in.

Another alternative would be to take an old machine and set up your own ipCop or Smoothwall firewall with Squid installed. Set this as a transparent proxy and then block the top level domains in Squid. You may even consider doing this in a Virtual Machine and letting your machine connect through the VM instead of directly. Will be tricky to configure but should work well.

share|improve this answer
Not feasible for adding a whole top level domain. – Tadeusz A. Kadłubowski Aug 3 '09 at 8:00
Just to clarify why it's not feasible, because the HOSTS file does not support wildcards - thus making blocking an entire TLD very time consuming and inefficient. – EvilChookie Aug 3 '09 at 20:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .