Re:Using a Hosts File To Make The Internet Not Suck As Much
by davidcollantes on Friday February 22, 2013 @11:40AM
(#5265120)
Exactly this.
I have been creating master zones on my named.conf and pointing them to a blocked.txt file. My method is more cumbersome, the one you linked is very streamlined. Excellent, and thanks!
Re:Using a Hosts File To Make The Internet Not Suck As Much
by mhurron on Friday February 22, 2013 @12:05PM
(#5265248)
I also made a little thing for adding additional zones to the list when I was playing a little with Bootstrap. I wrote a little page to add, enable and disable (if I blocked something important) entries. Then a cron job to pull the enabled domains, build the conf file and reload BIND.
I also have a webserver that any black holed domain is sent to so that there is no waiting for a web request to time out. The first time I put it in place I didn't have the webserver so the performance when hitting one of these was horrible. I also use it for any ad server or analytic site I want to permanently block.
This way I don't have to distribute and update a hosts file to every machine in the house and I control where the offending sites redirect too.