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
-
…by making large ipset lists for iptables. [1] - https://github.com/firehol/blocklist-ipsets [2] - https://github.com/StevenBlack/hosts [3] - https://www.uceprotect.net/en/index.php?m=6&s=0 [4] - https://www.spamcop.net/fom-serve/cache/291.h…
comment by LinuxBender · 2022-09-06 · in Ask HN: Is it pointless to report hosting Abuse? -
Here is the readme: https://github.com/StevenBlack/hosts If that could be more clear, please tell me how?
comment by stblack · 2022-07-14 · in Gambling and Adult content DNS blocking using Mullvad VPN -
Your browser shouldn't even be capable of resolving advertising.com You can use https://github.com/StevenBlack/hosts as your hosts file, but even better is TLD and wildcard domain blocking with dnsmasq or dnscrypt-proxy.
comment by 0daystock · 2022-06-10 · in MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips -
More generally: https://github.com/StevenBlack/hosts
comment by myroon5 · 2022-05-28 · in Blocklist of all Facebook domains (2016) -
Exactly that. I would recommend something like this [0]. [0]: https://github.com/StevenBlack/hosts
comment by sdoering · 2022-03-10 · in Consent-O-Matic: Automatic handling of GDPR consent forms -
it's probably something like this: https://github.com/StevenBlack/hosts
comment by djKianoosh · 2022-03-07 · in My lizard brain is no match for infinite scroll -
This is my go-to: https://github.com/StevenBlack/hosts It helps a lot.
comment by troyvit · 2022-02-21 · in Google Tag Manager, the new anti-adblock weapon (2020) -
…) directly off my router, and I (probably somewhat redundantly) also use a hosts blocker ( https://github.com/StevenBlack/hosts ) on my non-phone machines. It's annoying for the first day or two, but you get used to it really quickly.
comment by daniel-thompson · 2022-01-03 · in Ask HN: How do you avoid dopamine addiction on social media? -
…my hosts[] filter, as it includes amplitude.com Pity as they are great, so I often pass on them! [] https://github.com/StevenBlack/hosts
comment by sails · 2021-09-30 · in Tell HN: Amplitude (YC W12) just went public – AMA -
For what it's worth here's what I do: I run my own /etc/hosts file based on : https://github.com/StevenBlack/hosts This should block the popular ad-ware companies. I also browse with Brave, and use their inbuilt "shields" feature to block…
comment by CodeGlitch · 2021-08-26 · in UK to overhaul privacy rules in post-Brexit departure from GDPR -
…the NoScript addon on Firefox and auto filter out all IPs that end up on Steven Black's Host list - https://github.com/StevenBlack/hosts That takes care of a significant chunk of the ever increasing pollution. The adtech world is totally…
comment by yann2 · 2021-07-30 · in Ask HN: Decline in Web's Quality? -
…or walking past the junk food. [0] crowd sourced hosts files to block ads, social-media and porn: https://github.com/StevenBlack/hosts
comment by irthomasthomas · 2021-07-27 · in Launch HN: Atmana (YC S21) – An app to help cut down on compulsive porn usage -
…where they show that stuff. The best solution to that is to avoid those sites if possible. [1] https://github.com/StevenBlack/hosts [2] https://github.com/EnergizedProtection/block
comment by grae_QED · 2021-07-26 · in Disinformation for hire, a shadow industry, is quietly booming -
- Install ZRAM on your Linux distro - Ublock Origin is a must. If not: https://github.com/StevenBlack/hosts . Clone it, backup /etc/hosts, append the content of the /hosts subfiles MINUS the localhost and ::1 lines. - Use a bare window…
comment by anthk · 2021-07-07 · in The Old Computer Challenge -
…and securemetrics.apple.com:443 are still contacted. People messing with ocsp.apple.com:80 ( https://github.com/StevenBlack/hosts/issues/1460 ) also need to be aware of ocsp2.apple.com:443. The iAdSDK setting is somewhat respected, but all…
comment by tgragnato · 2021-06-27 · in Windows 11, Amazon, and Uncomfortable Questions -
Use /etc/hosts based blocking, e.g. https://github.com/StevenBlack/hosts This way you become mostly invisible to the ad and malware industry, no matter which browser you use. Have JavaScript toggle next to address bar and keep JavaScript…
comment by axismundi · 2021-06-17 · in New browser signal could make cookie banners obsolete -
…that temporarily for testing, and exchange it with some host-based solution, for instance this https://github.com/StevenBlack/hosts no matter which OS your are on. Then see if it feels faster. If you are already doing it this way, forget…
comment by LargoLasskhyfv · 2021-06-06 · in The modern web on a slow connection (2017) -
Update your hosts file with something like this https://github.com/StevenBlack/hosts
comment by govgodwhy · 2021-05-29 · in Ask HN: How do you remain secure while surfing the web -
…surf the web in 2021 without an ad-block? I'd be more interested in opinions about the article. https://github.com/StevenBlack/hosts https://addons.mozilla.org/en-US/firefox/addon/ublock-origin...
comment by DyslexicAtheist · 2021-05-06 · in Burning Man: The Ascent of D H Lawrence -
…web as such, respecting the original intent of this DNT option. I wrote a bit about this [here]( https://github.com/StevenBlack/hosts/issues/1346#issuecommen... ), pasted below: > I feel like a lot of this comes down to what "track" means,…
comment by Booligoosh · 2021-04-16 · in How to fight back against Google FLoC -
…DNS fiddling. This goes through https://guce.advertising.com/collectIdentifiers to track users. https://github.com/StevenBlack/hosts/issues/1370
comment by Daho0n · 2021-04-05 · in Knotel co-founder leaves company, describes Newmark as ‘a stalking horse’ -
…can be reduced (and sped-up) with a local cache (dnsmasq - or better yet dnscrypt-proxy[2]). [1] https://github.com/StevenBlack/hosts [2] https://github.com/DNSCrypt/dnscrypt-proxy
comment by DyslexicAtheist · 2021-03-24 · in Ask HN: Digital Nomads: What's Your Setup? -
…A more complete list of things worth adding to /etc/hosts here (I'm not affiliated with this): https://github.com/StevenBlack/hosts
comment by dheera · 2021-02-25 · in Google Analytics: Stop feeding the beast -
Edit: A warm mention of Steven Black's hosts, https://github.com/StevenBlack/hosts for those interested in more of OP's subject. Use both methods instead of just one. They differ in nature, and can be implemented at different perimeters of…
comment by Jiocus · 2021-02-11 · in Block Facebook Servers -
I added this to my /etc/hosts https://github.com/StevenBlack/hosts What is the advantage of having DNS on a separate device other than that it provides ad blocking for multiple devices?
comment by dheera · 2021-01-26 · in Firefox 85 cracks down on supercookies -
…matter. I have a cron job download a prefilled copy from a popular github repository [1] daily. [1] https://github.com/StevenBlack/hosts
comment by Funes- · 2021-01-21 · in Support for the IPFS Protocol – Firefox Bugzilla -
…of questionable sourcing]. [0] https://gitlab.com/The_Quantum_Alpha/the-quantum-ad-list/-/i... https://github.com/StevenBlack/hosts/issues/1487 [1] https://github.com/StevenBlack/hosts
comment by Jap2-0 · 2021-01-04 · in URL shorteners set ad tracking cookies -
…[1] https://github.com/blocklist-tools/github-history-generator [2] https://github.com/StevenBlack/hosts
comment by lightswitch05 · 2020-12-16 · in Show HN: Blocklist Tools – Search popular host or domain formatted block lists -
…list[1] in to /etc/hosts Not sure what, apart from extra cpu cycles, pihole adds over this. [1] - https://github.com/StevenBlack/hosts
comment by pmoriarty · 2020-10-17 · in Steps For Better Online Privacy -
…I do not see WPM and ACC stats though. It just shows empty placeholder for those. I use PiHole and https://github.com/StevenBlack/hosts to block ads. I see that the google analytics is not resolved properly in dev tools. Is that the issue…
comment by bajirao · 2020-10-06 · in Show HN: I made a site where you practice typing by retyping entire novels -
…I can recommend Steven Black's lists. He curates and consolidates several of the most famous ones: https://github.com/StevenBlack/hosts He maintains several variants according to themes you may want to ban (adware, malware, fakenews...).…
comment by pa7x1 · 2020-09-20 · in uMatrix has been archived -
I've used this successfully for years. https://github.com/StevenBlack/hosts While not your traditional ad blocker done via browser extension, it does the job quite well and blocks the requests at the OS level. I'm not the author or…
comment by hnrodey · 2020-08-06 · in Two Features of JavaScript that you might not know -
…takes, if you have any, on the subject of ethical tracking. What to do about Plausible and Fathom? https://github.com/StevenBlack/hosts/issues/1346
comment by stblack · 2020-07-11 · in Migrating Away from Google Analytics -
…that I put in to /etc/hosts.[1] Using this combination, I virtually never see any ads. [1] - https://github.com/StevenBlack/hosts
comment by pmoriarty · 2020-07-06 · in Brave Browser, wiping history still leaves trace of visited sites -
…regex) so that punicode domains (any domains matching "xn--") are sinkholed to 0.0.0.0 as well. [1] https://github.com/StevenBlack/hosts
comment by DyslexicAtheist · 2020-06-25 · in Comcast, Mozilla strike privacy deal to encrypt DNS lookups in Firefox -
for good measure, here are 83k additional domains: https://github.com/StevenBlack/hosts
comment by mxschumacher · 2020-06-09 · in Ask HN: Which tools have made you a much better programmer? -
…see how it might seem that way — I'm Steven Black. I can point to thousands of combined... * issues https://github.com/StevenBlack/hosts/issues?q=is%3Aissue+is%... * ...pull requests... https://github.com/StevenBlack/hosts/pulls?q=is%3Apr+i…
comment by stblack · 2020-06-06 · in All-in-One DNS block list -
…Disclosure: Some of us have been actively curating such amalgamated lists for a long time. https://github.com/StevenBlack/hosts
comment by stblack · 2020-06-06 · in All-in-One DNS block list -
…and trackers are blocked system wide. A few block lists that I would recommend: 1. Steven Hosts - https://github.com/StevenBlack/hosts 2. Adguard DNS - https://github.com/AdguardTeam/AdguardSDNSFilter 3. disconnect.me The amount of DNS…
comment by praveenweb · 2020-06-06 · in All-in-One DNS block list -
Also a shameless plug for the extensible, amalgamated hosts file I actively curate: https://github.com/StevenBlack/hosts
comment by stblack · 2020-05-22 · in Should I Block Ads? -
…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 -
…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”