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
-
…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 -
…deploy/update (remotely via Ansible or something else) custom hosts file on their workstations. https://github.com/StevenBlack/hosts
comment by hattori · 2020-04-14 · in Ask HN: How do you control home WiFi traffic? -
i should mention, it also acts as a pi-hole via dnsmasq configured with these hosts: https://github.com/StevenBlack/hosts
comment by leeoniya · 2020-04-08 · in List of software and things that use or support WireGuard -
I'm using simple https://github.com/StevenBlack/hosts . Puts everything into hosts file.
comment by p2t2p · 2020-03-29 · in Maza – Like Pi-hole but local and using your operating system -
yep, i do this on my edge OPNSense appliance, except with https://github.com/StevenBlack/hosts
comment by leeoniya · 2020-03-29 · in Maza – Like Pi-hole but local and using your operating system -
▲ 9
Hosts file ignored on Windows with DNS over HTTP enabled in latest Firefoxstory by eajr · 2020-03-21 · 2 comments
-
…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 -
…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 -
…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? -
Adguard Pro in VPN mode works system wide on iOS. I personally use this filter list https://github.com/StevenBlack/hosts
comment by praveenweb · 2020-01-23 · in “This is why I use ad blockers and a pi-hole server” -
I think this GitHub one is a bit better documented maybe, but both look good. https://github.com/StevenBlack/hosts
comment by yellow_lead · 2020-01-23 · in “This is why I use ad blockers and a pi-hole server” -
…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? -
▲ 1
DOH(DNS-over-HTTPS) bypassing the hosts filestory by DyslexicAtheist · 2019-12-18 · 0 comments
-
…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 -
▲ 1
Unified hosts file with base extensionsstory by pujjad · 2019-12-01 · 0 comments
-
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