News for hackers. Stuff that matters.
Re:Adblock via /etc/hosts by stblack on Friday February 12, 2016 @08:43AM (#11087057)
Hi Folks, this is my repo, thanks for all the comments.

I'm always looking for ways to improve things so I'm open to all suggestions.

EDIT: A couple of clarifications.

1) This isn't just for adblock. Your hosts file is useful for thwarting all sorts of malware. If a bot or trojan phones home with a domain, a vigilant hosts file will block it. A if a bot or trojan phones home with an IP, then the hosts file can't help you but, then again, an IP can be physically located fairly quickly.

2) The key to a good hosts file is keeping it current. This hosts file amalgamates several well-curated sources. So your hosts file is only as good as your ability to keep it current. This repo helps with this.

Re:Adblock via /etc/hosts by o_s_m on Friday February 12, 2016 @11:23PM (#11092532)
Hi Steven,

Thank you for your contribution. What do you think about this setup?

I use two Digital Ocean servers in different datacenters in which I have ran this script (https://github.com/jlund/streisand).

I modified the script (https://github.com/jlund/streisand/tree/master/playbooks/gro...) before I ran it and pointed the upstream DNS servers to my two personal DNS servers that are hosted on different datacenters.

The DNS servers are running a script (https://github.com/Kolyunya/afdns) that pulls the hosts file daily from (https://github.com/StevenBlack/hosts).

It has been working great for a few weeks, but I'm curious about any improvements I could provide.

Re:Adblock via /etc/hosts by muthdra on Friday February 12, 2016 @11:47AM (#11088499)
I'm translating it to portuguese (github.com/muthdra/hosts-ptbr). I love it!