| Internet, Networking, and Wireless Discussion of networking, internet, and wireless including Apple's Airport products. |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Mar 13, 2012
Posts: 17
![]() |
Hi,
I followed a guide to blocking websites by change OS X's hosts file. I then ran the command 'cat /etc/hosts' and indeed the changes were made. Unfortunately, the websites I included in the file are not blocked. Example: I entered 0.0.0.0 nrg.co.il. That didn't work, as Safari redirects me to מעריב - חדשות, כלכלה, ספורט ובידור מהארץ ומהעולם nrg. So I change it to 0.0.0.0 *.nrg.co.il. Still doesn't work. Am I doing it wrong? Attached is a shot of the hosts file list. |
| QUOTE Thanks | |
![]() Member Since: Jul 17, 2009
Location: MA
Posts: 5,850
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 27" i7 iMac with 16GB RAM and 1TB HDD, iPhone 3G & 4, iPod Nano 16GB, iPod Shuffle, iPad 2 16GB WiFi
|
Try setting the sites you want to block to point to 127.0.0.1 instead of 0.0.0.0 which is a multicast broadcast group or address or something..
127.0.0.1 is localhost (your local machine), so any access to that will just stay within your computer.. -- Regards ...Ashwin Be sure to read the Community Guidelines | The more information you provide, the better answers you get, remember GIGO. |
| QUOTE Thanks | |
![]() Member Since: Oct 19, 2008
Location: Ottawa
Posts: 15,329
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2012 13" MBP (2.5 i5, 8GB)
|
Have you flushed your DNS cache? If not, execute the following:
Code:
sudo dscacheutil -flushcache Important Links: Community Guidelines : Use the reputation system if you've been helped. M-F Blog :: Write for the blog :: M-F IRC Channel - Chats every Sunday at 8PM EST. |
| QUOTE Thanks | |
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| SonicWALL blocking random sites. | colormesassy | Internet, Networking, and Wireless | 0 | 03-19-2010 02:14 PM |
| Need help with editing my hosts file | BlackOut117 | OS X - Operating System | 4 | 08-28-2008 06:13 AM |
| My PowerMac G5 is acting screwy! | aedolch | OS X - Operating System | 5 | 08-01-2008 06:12 PM |
| Unix Executable File problem | fender1100 | OS X - Apps and Games | 9 | 01-07-2007 06:20 AM |
| Open Letter to Apple | Saint Mark | Switcher Hangout | 23 | 08-15-2006 03:15 AM |
All times are GMT -4. The time now is 05:55 PM.
Powered by vBulletin