Show HN: News Blocklist – a DNS blocklist of 14k news and current-affairs sites ...

@show

Show HN: News Blocklist – a DNS blocklist of 14k news and current-affairs sites github.com · 19 points · 10 comments · HN thread

TL;DR A developer released News Blocklist, a DNS/hosts blocklist of news and current-affairs sites, offered as two lists: a full 'news' list with 14,314 sites (30,863 hostnames) and a 'news-lite' list with 6,762 sites (15,936 hostnames). The curated core was compiled with Claude, and the long tail is pulled weekly from Wikidata, filtered, and DNS-checked. It is MIT licensed and works with Pi-hole, AdGuard Home, uBlock Origin, dnsmasq and hosts files.

  • Two lists: 'news' (everything, including local and niche outlets) and 'news-lite' (curated outlets plus Wikidata sites in the Tranco top 200,000), each published in hosts, domains, wildcard, adblock and dnsmasq formats.
  • Wildcard, adblock and dnsmasq formats block a domain and all its subdomains; hosts and domains formats list exact hostnames expanded via DNS checks.
  • Scope covers general, national, regional and local news, politics, business news, opinion, news agencies, 24-hour channels, tabloids and aggregators; sport, entertainment, tech, science, government and streaming are excluded unless the same site is a news site.
  • Many hosts are listed with collateral blocking, such as nytimes.com also blocking NYT Games and Cooking, and bbc.co.uk also blocking iPlayer, Sounds and Weather; exceptions must be added manually.
  • Wikidata-sourced entries are filtered automatically and not reviewed one by one, so some specialist or defunct sites slip through; the lists are rebuilt and tested weekly with a reference set of must-block and must-not-block sites.
  • Blocking works only at hostname level and does not stop news shown inside social feeds, search results, YouTube or podcasts, and DNS-over-HTTPS in browsers bypasses hosts-file blocking.

Discussion The thread is small, with about ten comments, and is mostly tangential to the list itself. Commenters focus on the problem of news leaking through feeds rather than through websites: one jokes about a missing Hacker News entry, one asks for a version that works on feeds, and the replies point to Bluesky custom feeds and a Reddit uBlock filter project. The mood is light and conversational, with a few people sharing their own workarounds rather than debating the blocklist.

  • Blocking sites isn't enough; the feeds are the problem (some): One commenter says headlines in social feeds are what draws them in, and wishes a similar block existed for feeds. This matches the article's own note that in-feed news is not covered.
  • Filter news in Bluesky with custom feeds (a few): A commenter points out that Bluesky lets anyone host a custom feed algorithm, so a feed could be built that drops posts linking to news sites and be set as the default in the app.
  • Filter Reddit by title keywords with uBlock (a few): Another commenter built a uBlock Origin filter list that hides Reddit posts by political keywords, which they say started as plain words and grew into a regex-based tool, though it is no longer fully maintained.
  • Joking about the list's omissions (a few): Some replies are jokes, including one that suggests adding news.ycombinator.com to the list, with a further quip about escaping a cage.

Links from the comments

#dnsBlocking #newsAvoidance #blocklists #piHole #digitalWellbeing