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
20082026
-
…ercontent.com/StevenBlack/hosts/master/a... . Check the bottom of the list for the social ones. Edit: https://github.com/StevenBlack/hosts repo link.
comment by g82918 · 2020-01-14 · in Show HN: Mute.vc – Mute Investors on Twitter -
A good hosts file will help, a lot. https://github.com/StevenBlack/hosts Disclosure: there are many like it, but this one's mine.
comment by stblack · 2020-01-02 · in Ask HN: How do you protect your parents from tech scammers? -
…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 -
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.
comment by pujjad · 2019-12-01 · in EU antitrust regulators say they are investigating Google's data collection -
[] https://github.com/liamsomerville/facebookblocklist/blob/mas... [] https://github.com/StevenBlack/hosts/blob/master/alternates/...
comment by chewz · 2019-11-27 · in Facebook tracks you on Android (even if you don't have a Facebook account) -
…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?
comment by thoughtexprmnt · 2019-11-26 · in Edge vs. Chrome: Microsoft's Tracking Prevention Hits Google the Hardest -
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
comment by hos234 · 2019-11-24 · in Ask HN: Has anyone just blacklisted everything Google with a Pi-hole? -
…these hosts files [2] loaded into its DNSmasq config. [1] https://www.amazon.com/dp/B072ZTCNLK [2] https://github.com/StevenBlack/hosts
comment by leeoniya · 2019-11-23 · in Cname cloaking, a disguise of third-party trackers -
This has already been added to the excellent host block file of StevenBlack. https://github.com/StevenBlack/hosts/issues/1083
comment by kuon · 2019-11-17 · in Update: UniFi Phone Home/Performance Data Collection -
…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 -
There's the option for hosts-based blocking, too; unified hosts[1] for example [1] https://github.com/StevenBlack/hosts
comment by shujito · 2019-09-20 · in Explanation of the state of uBlock Origin and other blockers for Safari -
Hosts file blocklists work well for known domains. https://github.com/StevenBlack/hosts
comment by driverdan · 2019-09-15 · in HP printers try to send data back to HP about your devices and what you print -
…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 -
…wide (not just Safari) ads/tracker blocking. Adding custom filters as and when required. - [0] https://github.com/StevenBlack/hosts
comment by praveenweb · 2019-09-03 · in Ask HN: How to make iOS more private and secure? -
…sufficient experience to claim this for certain. Background: years of discussions and issues at https://github.com/StevenBlack/hosts , which I maintain.
comment by stblack · 2019-08-24 · in Ask HN: What's the best setup for ad blocking and tracker blocking? -
…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? -
…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
comment by DyslexicAtheist · 2019-06-10 · in BeGoneAds – A Python script that blocks ads by installing common hosts files -
How is this different or better than Steven Black's project? Repo: https://github.com/StevenBlack/hosts
comment by daverobbins1 · 2019-06-10 · in BeGoneAds – A Python script that blocks ads by installing common hosts files -
It's dangerous to go alone. Take this: https://github.com/StevenBlack/hosts
comment by PaulHoule · 2019-06-07 · in Ask HN: How to make browsing the web more 2G friendly? -
…update your hosts file periodically, using the same blacklists[0]. No extra hardware needed. [0]: https://github.com/StevenBlack/hosts .
comment by Funes- · 2019-06-02 · in Google Just Gave 2B Chrome Users a Reason to Switch to Firefox -
All the more reason to use Host block lists such as https://github.com/StevenBlack/hosts
comment by snomad · 2019-05-31 · in Google Just Gave 2B Chrome Users a Reason to Switch to Firefox -
…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
comment by teddyc · 2019-05-30 · in Pi-hole: A black hole for Internet advertisements -
…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/...
comment by icecube · 2019-05-28 · in iPhone apps share data with trackers, ad companies and research firms -
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…
comment by p2t2p · 2019-05-02 · in How to Do Nothing: Resisting the Attention Economy -
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? -
https://github.com/StevenBlack/hosts Solve all my problems with ads and also effective against social, porn and gaming addiction.
comment by paulcarroty · 2019-04-14 · in Setting Up a Pi Hole Made My Home Network Faster -
If you don't mind a bit more config to tune to your precise preferences, I'd highly recommend https://github.com/StevenBlack/hosts
comment by rux · 2019-03-26 · in Twitter forces all new users to enter a valid phone number -
…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…
comment by kuon · 2019-03-19 · in EU government websites have undisclosed adtech trackers from Google and others -
…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…
comment by BFLpL0QNek · 2019-02-27 · in Pi-Hole – A black hole for Internet advertisements -
…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 -
Shouldn't the hosts file from https://github.com/StevenBlack/hosts + uBlock Origin + uBlock Origin Extra be the perfect anti-tracking combo?
comment by Nanocurrency · 2019-02-19 · in Improve your privacy in the age of mass surveillance (2017) -
…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...
comment by tiew9Vii · 2019-02-16 · in My Chromecast Ultra would not start until I began answering 8.8.8.8 -
…paying for the service, but they seriously need to do a better job vetting for malicious ads. [1] https://github.com/StevenBlack/hosts
comment by bmaupin · 2019-02-08 · in Spotify will now suspend or terminate accounts it finds are using ad blockers -
Theres a bunch on github, just search for blacklist hostfiles. https://github.com/StevenBlack/hosts
comment by IronWolve · 2019-01-30 · in Ask HN: IPs to put in your hosts file – to block ads and tracking -
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 -
…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…
comment by nkg · 2019-01-23 · in Blocking website ads with a hosts file -
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 -
…many other hosts including Dan Pollock's list. [1] https://someonewhocares.org/hosts/zero/ [2] https://github.com/StevenBlack/hosts
comment by vidyesh · 2019-01-23 · in Blocking website ads with a hosts file -
…potentially others. You can optionally invoke extensions to block additional sites by category. || https://github.com/StevenBlack/hosts Someone will make money selling an ad blocker device that's just a configured Raspberry Pi with a…
comment by dbg31415 · 2019-01-22 · in Google proposes changes to Chromium which would disable uBlock Origin -
…Another idea might be to remove all blocklists in pi-hole, and only add this list: https://github.com/StevenBlack/hosts
comment by DavideNL · 2019-01-15 · in Secure and Ad-Free Internet Anywhere with Streisand and Pi Hole -
…just a pi-hole equivalent that integrates with pfSense) and I only use the Steven Black list: https://github.com/StevenBlack/hosts It seems to be well curated. Breakages are rare, and if there is one, you can file a bug. Works well.
comment by LeoPanthera · 2019-01-14 · in Secure and Ad-Free Internet Anywhere with Streisand and Pi Hole -
…edit the original post now, but it was just my computer blocking your domain at the hosts level via https://github.com/StevenBlack/hosts I should have realised, but it's the first time using that hosts list has ever stopped a website I've…
comment by SCdF · 2018-12-15 · in JavaScript growth and third parties -
…platforms takes a pretty consistent toll That sucks. :/ https://someonewhocares.org/hosts/ and https://github.com/StevenBlack/hosts/blob/10bba14590738c445c...
comment by sinemetu11 · 2018-12-12 · in An open letter to FB, Twitter, Instagram regarding algorithms and my son's birth -
…our activities to be used against us in the form of advertisements. [1] https://pi-hole.net [2] https://github.com/StevenBlack/hosts
comment by move-on-by · 2018-10-30 · in Kids’ Apps Are Crammed With Ads -
…a little more flexible than pi-hole since you can use your mobile devices over LTE with it. [0] https://github.com/StevenBlack/hosts [1] https://github.com/StreisandEffect/streisand
comment by aphextron · 2018-09-26 · in Mmm, Pi-hole -
…can blackhole domains. It doesn't work well on very large host files so I gave up trying to import https://github.com/StevenBlack/hosts , but it does work well for smaller lists.
comment by 8_hours_ago · 2018-09-26 · in Mmm, Pi-hole -
There's also Steven Black's host file: https://github.com/StevenBlack/hosts
comment by SamuelAdams · 2018-09-26 · in Mmm, Pi-hole -
…cut between ads & tracking and useful services. [1] https://github.com/lightswitch05/hosts [2] https://github.com/StevenBlack/hosts
comment by lightswitch05 · 2018-09-26 · in Mmm, Pi-hole -
I use a /etc/hosts-based ( https://github.com/StevenBlack/hosts ) approach to add blocking across my machines, but I have found some sites (fansided.com) comes to mind, which detect that I'm blocking and won't let me read them. How easy is…
comment by rufugee · 2018-09-26 · in Mmm, Pi-hole -
…by caching would be an ideal solution for me. __ ¹ https://github.com/lixingcong/dnsmasq-regex ² https://github.com/StevenBlack/hosts
comment by DyslexicAtheist · 2018-09-06 · in Noisy: Random DNS, HTTP/S traffic noise generator