Hacker GitHub

← All repos

StevenBlack/hosts

View on GitHub ↗ ★ 31,363 Python

🔒 Consolidating and extending hosts files from several well-curated sources. Optionally pick extensions for porn, social media, and other categories.

244 mentions on Hacker News by 168 people: 21 stories, 223 comments · first 2013-02-22 · latest 2026-10-07

Mentions per year 244 mentions · busiest year 2019 (41)
20082026
  1. …hosts file on my system to block most of the ad-networks and metrics tracking sites. Check out https://github.com/StevenBlack/hosts
  2. I use: https://github.com/StevenBlack/hosts Works amazing.
  3. https://github.com/StevenBlack/hosts
    comment by driverdan · 2016-11-25 · in Brew commands send data to Google Analytics
  4. It might be this one from another comment https://github.com/StevenBlack/hosts
  5. …your assertion is valid, even though it was sarcastic, that it is an amazing use of one's time. [0] https://github.com/StevenBlack/hosts
  6. …hosts file on your system, if you have Linux, just replace your existing /etc/hosts file with this https://github.com/StevenBlack/hosts This will kill 90% of popups and autoloading, for the others.. 2. If you use Chrome, use the option…
  7. I've set up a cronjob to pull the latest hosts file from Steven's aggregated list https://github.com/StevenBlack/hosts
  8. You could also try https://github.com/StevenBlack/hosts to block ads. Quoting from the description: Extending and consolidating hosts files from a variety of sources like adaway.org, mvps.org, malwaredomains.com, someonewhocares.org,…
  9. …I think it's wrong to attribute all of it to malice. Personally, I set the host file to use https://github.com/StevenBlack/hosts in order to block ads on every computers I touch. I also often use software that manage the host file and…
    comment by Raphmedia · 2016-09-28 · in Let 'localhost' be localhost
  10. I use this source, which seems to be a pretty good aggregation of several hosts file sources: https://github.com/StevenBlack/hosts
    comment by nathanaldensr · 2016-09-13 · in Adblock Plus now sells ads
  11. …I wish I could use this on my phone. EDIT: Looks like I should switch to the https://github.com/StevenBlack/hosts source, as it includes the one I referenced plus a lot more.
  12. I know this is not about ad blockers, but does anybody have any experience of using something like https://github.com/StevenBlack/hosts/blob/master/hosts instead of uBlock Origin? Or even use it in the hosts file of our dd-wrt/openwrt…
  13. This works really well for me, and avoids the overhead of using a browser plugin: https://github.com/StevenBlack/hosts
  14. Good luck Facebook because we have this: https://github.com/StevenBlack/hosts
  15. …Pis but I put it into a Vagrantfile and combined it with block lists similar to Ghostery from https://github.com/StevenBlack/hosts to form https://github.com/benlowry/pihole-extended-hosts A commercial solution similar to that was just all…
    comment by benologist · 2016-08-01 · in DistroWatch Ubuntu Phone review
  16. > One can achieve this locally, on a laptop/desktop, using https://github.com/StevenBlack/hosts I use this with DD-WRT to get network-wide filtering. It's not perfect (only updates on router boot), but good enough for me. Additional…
    comment by stordoff · 2016-07-29 · in Optimal DNS Ad Blocker
  17. One can achieve this locally, on a laptop/desktop, using https://github.com/StevenBlack/hosts Or you can combine that with https://github.com/jlund/streisand to have a VPN service that happens to adblock (great for mobile). That said... I…
    comment by buro9 · 2016-07-29 · in Optimal DNS Ad Blocker
  18. …wide DNS server for ad blocking which I supplement with a bunch of privacy/security lists from https://github.com/StevenBlack/hosts . 5% of my traffic was blocked today which is heaps considering it's counting mountains of requests to eg…
    comment by benologist · 2016-07-23 · in My Raspberry Pi cluster
  19. …most egregious advertisers to 127.0.0.1 via DNS lookup? Does that count as an "ad blocker"? See: https://github.com/StevenBlack/hosts http://someonewhocares.org/hosts/ Someone told me it was pretty effective to do this.
    comment by bediger4000 · 2016-06-24 · in AdBlock Plus Now Illegal in Germany
  20. Not sure if this list is included here, but here's something a friend has used: https://github.com/StevenBlack/hosts
    comment by isxek · 2016-05-28 · in Blocklist of all Facebook domains
  21. …and it works surprisingly well - even the ads on my Xbox One dashboard are blocked. [1] https://github.com/StevenBlack/hosts
  22. this does the trick: https://github.com/StevenBlack/hosts.git
  23. I'm using https://github.com/StevenBlack/hosts and wired is non-functional for me.
    comment by daveloyall · 2016-05-20 · in Project Ara Lives: Google's Modular Phone
  24. There's this GitHub repo with host files setups for exactly this need : https://github.com/StevenBlack/hosts
  25. …servers, I feel even better that I'm blocking all of these ad servers with my /etc/hosts file using https://github.com/StevenBlack/hosts . The update will be a no-op from my machine.
  26. Not on my computer: https://github.com/StevenBlack/hosts
  27. …the unnecessary cat command: grep -v '#' steves_hosts | awk '{print $1}'| sort | uniq -c [1] https://github.com/StevenBlack/hosts [2] https://news.ycombinator.com/item?id=5264955
  28. …I just leave. If the article is that important, some other outlet will cover the news. [1] - https://github.com/StevenBlack/hosts
  29. seems to work OK with uBlock EDIT: i forgot that I also use https://github.com/StevenBlack/hosts so it might be either uBlock or the hosts file that kills adblock in my case not sure
  30. I could not click the sign up button until I removed this https://github.com/StevenBlack/hosts from my hosts file. I guess some advertising infrastructure is used on google's page. (Not that I want to sign up for this, I was just curious…
    comment by daveloyall · 2016-03-23 · in TensorFlow as a Service
  31. …I really don't trust, and my own VPN with streisand and Dnsmasq (with a hosts very similar to https://github.com/StevenBlack/hosts/ ). On my mobile every link I click in any app I open in Dolphin Zero (still on that DNS blocking VPN -…
    comment by buro9 · 2016-03-11 · in Trackers
  32. This is DNS server version of the excellent host blocking rule maintained here: https://github.com/StevenBlack/hosts This was setup in mainly to stop my android loading ads all the time. This is no way standards compliant (for starters, it…
  33. https://github.com/StevenBlack/hosts/blob/master/data/Steven... https://github.com/StevenBlack/hosts/blob/master/data/adaway... https://github.com/StevenBlack/hosts/blob/master/data/malwar...
    comment by RKearney · 2016-02-13 · in Adblock via /etc/hosts
  34. …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.
    comment by o_s_m · 2016-02-13 · in Adblock via /etc/hosts
  35. ▲ 2
    Ask HN: How is this VPN setup for personal use?
    story by o_s_m · 2016-02-13 · 0 comments
  36. …at [1], the only entries I can find for 127.0.0.1 are for localhost or are commented out [1] https://github.com/StevenBlack/hosts/blob/master/hosts
    comment by stordoff · 2016-02-12 · in Adblock via /etc/hosts
  37. Its in the repo's readme: https://github.com/StevenBlack/hosts#why-use-0000-instead-of...
    comment by Goopplesoft · 2016-02-12 · in Adblock via /etc/hosts
  38. ▲ 273
    Adblock via /etc/hosts
    story by lpsz · 2016-02-12 · 139 comments
  39. ▲ 4
    Amalgamated hosts file
    story by 2a0c40 · 2015-11-20 · 2 comments
  40. …support. [1] http://someonewhocares.org/hosts/ [2] http://winhelp2002.mvps.org/hosts.htm [3] https://github.com/StevenBlack/hosts
  41. I recommend you check out StevenBlack's Amalgamated hosts file: https://github.com/StevenBlack/hosts Currently the hosts files from the following locations are amalgamated: MVPs.org Hosts file at http://winhelp2002.mvps.org/hosts.htm,…
  42. ▲ 5
    Ask HN: Suggestions for a current /etc/hosts DNS blacklist?
    story by arh68 · 2015-05-08 · 2 comments
  43. ▲ 2
    446,743 /etc/hosts entries for blacklisting
    story by taylorbuley · 2014-06-19 · 0 comments
  44. …and de-dupes recent hosts files from mvps.org, someonewhocares.org, and malwaredomainlist.com. https://github.com/StevenBlack/hosts