Question : How to Blackhole a website using DNS

I don't know a whole lot about adding entries into the DNS host files so if someone knows a website to step me through it or can walk me through it please help.  I work for a school district and our Websense filter doesn't stop HTTPS and the kids are getting to proxies sites and bypassing our filter, please help!!!

Answer : How to Blackhole a website using DNS

The dns host file on a xp machine can be found at;

C:\windows\system32\drivers\etc

Open that and say if you want to block access to www.yahoo.com, just add the entry in the format below at the end of the file;

127.0.0.1 www.yahoo.com

By the above what we are saying is that the ip address of www.yahoo.com is 127.0.0.1 (the same machine from where it is surfed on). So they will never reach that site.

Post back if you want more explanation.

Also I would suggest to get a blacklist dns host file which is maintained by a bunch of Microsoft Valuable Professionals, at the following link;

http://www.mvps.org/winhelp2002/hosts.htm (Read this first)

http://www.mvps.org/winhelp2002/hosts.txt

Cheers,
Rajesh
Random Solutions  
 
programming4us programming4us