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. …ability to have a pi-hole sized blacklist. The main source of pi-hole’s blacklist is this Git repo: https://github.com/StevenBlack/hosts That is about 60,000 hosts, so I added MaraDNS support to have up to 500,000 blacklisted names. Since…
    comment by strenholme · 2020-05-04 · in Ad blocking with Raspberry Pi and Pi-hole
  2. …deploy/update (remotely via Ansible or something else) custom hosts file on their workstations. https://github.com/StevenBlack/hosts
  3. i should mention, it also acts as a pi-hole via dnsmasq configured with these hosts: https://github.com/StevenBlack/hosts
  4. I'm using simple https://github.com/StevenBlack/hosts . Puts everything into hosts file.
  5. yep, i do this on my edge OPNSense appliance, except with https://github.com/StevenBlack/hosts
  6. ▲ 9
    Hosts file ignored on Windows with DNS over HTTP enabled in latest Firefox
    story by eajr · 2020-03-21 · 2 comments
  7. …53 gets re-directed using IP masquerading to my local DNS server which uses the blocklists from https://github.com/StevenBlack/hosts . By coincidence since I did that I need to do a hard reboot of my Mi Box android tv device everyday as…
    comment by tiew9Vii · 2020-02-10 · in Tracking systems of TV streaming devices
  8. …It works even better when paired with a PiHole [2] to protect all devices on the network. [1] https://github.com/StevenBlack/hosts [2] https://pi-hole.net/
    comment by lightswitch05 · 2020-02-05 · in Wacom tablets track every app you open
  9. …some of those crowdsourced lists of hosts files to ban trackers, ad networks, and the like, i.e. https://github.com/StevenBlack/hosts or https://github.com/notracking/hosts-blocklists , you can use pi-hole even as a docker container…
    comment by drKarl · 2020-02-05 · in Ask HN: How to take your privacy back?
  10. Adguard Pro in VPN mode works system wide on iOS. I personally use this filter list https://github.com/StevenBlack/hosts
  11. I think this GitHub one is a bit better documented maybe, but both look good. https://github.com/StevenBlack/hosts
  12. …ercontent.com/StevenBlack/hosts/master/a... . Check the bottom of the list for the social ones. Edit: https://github.com/StevenBlack/hosts repo link.
  13. A good hosts file will help, a lot. https://github.com/StevenBlack/hosts Disclosure: there are many like it, but this one's mine.
  14. ▲ 1
    DOH(DNS-over-HTTPS) bypassing the hosts file
    story by DyslexicAtheist · 2019-12-18 · 0 comments
  15. …resolution. It also does not interfere with a web server that may be running on the local PC. [0] https://github.com/StevenBlack/hosts
    comment by rwnspace · 2019-12-03 · in How Facebook Avoids Ad Blockers
  16. ▲ 1
    Unified hosts file with base extensions
    story by pujjad · 2019-12-01 · 0 comments
  17. This might help: https://github.com/StevenBlack/hosts Apart from adware and malware it offers to block url's falling into other categories like fakenews, social, gambling, and porn.
  18. [] https://github.com/liamsomerville/facebookblocklist/blob/mas... [] https://github.com/StevenBlack/hosts/blob/master/alternates/...
  19. …the same end result could be achieved in any browser/system-wide by using a curated one such as: https://github.com/StevenBlack/hosts Or is Edge Tracking Prevention more effective in some way?
  20. I just periodically update my host file with - https://github.com/StevenBlack/hosts which blocks most of the ad serving domains gmail/youtube etc work fine
  21. …these hosts files [2] loaded into its DNSmasq config. [1] https://www.amazon.com/dp/B072ZTCNLK [2] https://github.com/StevenBlack/hosts
  22. This has already been added to the excellent host block file of StevenBlack. https://github.com/StevenBlack/hosts/issues/1083
  23. …ad-blockers. Even if those were illegal for some reason, there are lists available (such as hosts, https://github.com/StevenBlack/hosts ) where you can make known tracking/advertising/etc hostnames non-routable Are you saying that site…
    comment by bsclifton · 2019-11-13 · in Brave launches 1.0
  24. There's the option for hosts-based blocking, too; unified hosts[1] for example [1] https://github.com/StevenBlack/hosts
  25. Hosts file blocklists work well for known domains. https://github.com/StevenBlack/hosts
  26. …automation to take advantage of /etc/hosts (and put a blocklist in there while you are at it: https://github.com/StevenBlack/hosts ).
    comment by sedachv · 2019-09-15 · in Chaosnet Network Protocol
  27. …wide (not just Safari) ads/tracker blocking. Adding custom filters as and when required. - [0] https://github.com/StevenBlack/hosts
  28. …sufficient experience to claim this for certain. Background: years of discussions and issues at https://github.com/StevenBlack/hosts , which I maintain.
  29. …to have full read/write access to all web sites I visit. I use a domain block list in `/etc/hosts`: https://github.com/StevenBlack/hosts
    comment by C14L · 2019-07-27 · in Adblocking: How about Nah?
  30. …or use a "myhosts" file to name your own domains for a subset (e.g. all of facebook or whatever) https://github.com/StevenBlack/hosts
  31. How is this different or better than Steven Black's project? Repo: https://github.com/StevenBlack/hosts
  32. It's dangerous to go alone. Take this: https://github.com/StevenBlack/hosts
  33. …update your hosts file periodically, using the same blacklists[0]. No extra hardware needed. [0]: https://github.com/StevenBlack/hosts .
  34. All the more reason to use Host block lists such as https://github.com/StevenBlack/hosts
  35. …edit /etc/hosts to have all the unwanted domains resolve to 0.0.0.0 I like to get my host list from https://github.com/StevenBlack/hosts
  36. …easily configurable. Unfortunately, you will lose out on the statistics that Pi-hole collects. [1] https://github.com/StevenBlack/hosts [2] https://github.com/openwrt/packages/tree/master/net/adblock/...
  37. I'm tree weeks into: git clone https://github.com/StevenBlack/hosts.git && cd hosts && pip3 install --user -r requirements.txt && python3 updateHostsFile.py --auto --replace --extensions social porn gambling and going strong. What I…
  38. I update my hosts file to stop communication with the bad guys: https://github.com/StevenBlack/hosts/blob/master/alternates/...
    comment by npc_george123 · 2019-04-17 · in Ask HN: How do you secure your Mac?
  39. https://github.com/StevenBlack/hosts Solve all my problems with ads and also effective against social, porn and gaming addiction.
  40. If you don't mind a bit more config to tune to your precise preferences, I'd highly recommend https://github.com/StevenBlack/hosts
  41. …account management interface. I have been using ublock + configured my router as DNS server using https://github.com/StevenBlack/hosts/ The DNS server has the advantage of filtering for the mobile devices on WiFi as well, which is a nice…
  42. …more features than Unbound. In my Unbound config I have an include to a blocklist generated from https://github.com/StevenBlack/hosts , essentially I pipe the data from that repo through awk [3] I have an Android TV box so also have a…
  43. …in my network, especially from those which cannot be configured with a firewall or adblocker. [1] https://github.com/StevenBlack/hosts
    comment by fisian · 2019-02-24 · in Tracking my phone's silent connections
  44. Shouldn't the hosts file from https://github.com/StevenBlack/hosts + uBlock Origin + uBlock Origin Extra be the perfect anti-tracking combo?
  45. …can't be as bad as my ISP. [1] https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Daemon+-+... [2] https://github.com/StevenBlack/hosts [3] https://developers.cloudflare.com/1.1.1.1/commitment-to-priv...
  46. …paying for the service, but they seriously need to do a better job vetting for malicious ads. [1] https://github.com/StevenBlack/hosts
  47. Theres a bunch on github, just search for blacklist hostfiles. https://github.com/StevenBlack/hosts
  48. You might be interested in this ticket: Encrypted subdomains for routing ads https://github.com/StevenBlack/hosts/issues/801 A PiHole could do wildcard blocking for the subdomain - but as in the ticket where the content for the site is…
    comment by lightswitch05 · 2019-01-23 · in Blocking website ads with a hosts file
  49. …and it works like a charm. Just have to update it from time to time (but it can be automated). https://github.com/StevenBlack/hosts "This repository consolidates several reputable hosts files, and merges them into a unified hosts file with…
  50. I have like 30,000 entries in mine and there is no performance issues. https://github.com/StevenBlack/hosts
    comment by jason_slack · 2019-01-23 · in Blocking website ads with a hosts file