[KongchangAI]
· 1 min read· 791 words

Open-Source DNS Blocklist: Block 14,000 News and Information Sites with One Click

Open-Source DNS Blocklist: Block 14,00…

News Blocklist offers a DNS blocklist of 14,000 news sites to help users reduce information distractions.

News Blocklist is an open-source project released on Hacker News that provides DNS blocking rules for approximately 14,000 news and current affairs websites. Users can import it into local DNS servers or ad-blocking tools to block these sites across their home network. The article analyzes the pros and cons of DNS-layer blocking: lightweight deployment and multi-device coverage, but inability to identify HTTPS content and risk of collateral damage from CDN shared domains. The full list may be too aggressive—trimming as needed or time-limited activation is recommended. Target users include deep workers, parents, and those wanting to experimentally reduce news intake. The project relies on continuous community maintenance to cope with frequent news domain changes, and its significance lies in returning information choice to users.

Why Would Anyone Want to Block News Sites?

In the "Show HN" section of Hacker News, a project called News Blocklist sparked discussion. It provides a DNS blocklist covering approximately 14,000 news and current affairs websites. Users simply import this list into a local DNS server or ad-blocking tool to block access to these sites across their home network.

The emergence of this project reflects a real pain point in attention management in the digital age: news streams are no longer scarce—what's scarce is uninterrupted focus. For some users, proactively cutting off news entry points is a means of self-discipline rather than information isolation.

Technical Implementation: Pros and Cons of DNS-Layer Blocking

From a technical standpoint, DNS-layer blocking is a lightweight and efficient filtering method. It doesn't require installing browser extensions or relying on specific applications—as long as devices use the same DNS resolver, the rules cover multiple endpoints including phones, computers, and tablets. For home networks or small office environments, this "configure once, effective network-wide" characteristic is quite appealing.

But DNS blocking also has clear limitations. It can only intercept domain name resolution, cannot identify specific content within HTTPS traffic, and struggles with CDN shared domains—blocking one news domain may inadvertently affect other services sharing the same origin. Therefore, this list is better suited as a tool for "reducing exposure surface" rather than a fine-grained content filtering solution.

Basic DNS Resolution Process: When a user enters a URL in the browser, the device first queries the DNS server for the IP address corresponding to that domain, and only then can it establish a connection. The principle of DNS-layer blocking is to directly return an invalid address (such as 0.0.0.0) or refuse to respond during the resolution phase, preventing the device from obtaining the target site's IP and thus blocking access. The advantage of this approach is that interception occurs before connection establishment, is transparent to the application layer, and requires no modification of endpoint devices. But the disadvantage stems from this as well: once users access through other DNS (such as public DNS over HTTPS) or directly use IP addresses, the blocking becomes ineffective. Additionally, DNS queries themselves may be encrypted in some network environments (such as DoH/DoT)—if the local DNS server doesn't force proxy, rules may be bypassed. Therefore, DNS blocking is better suited as a "coarse-grained switch" for home networks rather than a security boundary.

Trade-offs of 14,000 Rules

The project limits its scope to "news and current affairs" sites, totaling approximately 14,000. This scale reflects both coverage and maintenance challenges: news site domains change frequently—mergers, redesigns, and migrations all render rules outdated. The long-term value of the list depends on whether the community continues to update it.

For ordinary users, using the full list directly may be too aggressive—it can cause inconvenience when occasionally needing to check news. A more pragmatic approach is to trim as needed, keeping only the sites you truly want to avoid, or enabling rules during specific time periods.

Risk of Collateral Damage from CDN Shared Domains: Many news websites use content delivery networks (CDNs) to accelerate content distribution, and CDN provider domains (such as Cloudflare, Akamai) are often shared by multiple sites. If the blocklist directly includes a CDN's generic domain, it may cause other non-news services under the same CDN (such as e-commerce, API endpoints) to become inaccessible as well. A more refined approach is to block only specific subdomains of news sites rather than CDN root domains. However, news sites may also use custom domains pointing to CDNs—in this case, blocking the custom domain typically won't affect other sites, but if that domain is also used for other services (such as email, API), collateral damage may still occur. Therefore, rule maintainers need to carefully distinguish domain purposes and avoid "one-size-fits-all" blocking.

Who Should Use These Tools

The audience for this type of DNS blocklist is more specific than one might imagine: people who need deep work periods, parents who want to create a low-information-noise environment for their children, and self-media professionals who want to test the effects of "news detox." It's not a universal solution but a reversible experimental tool—rules can be turned off at any time at minimal cost.

As the attention economy intensifies, similar open-source small tools will proliferate. Their significance lies not in the "blocking" itself, but in returning choice to users: you can decide what information you're exposed to each day, rather than passively accepting algorithm-driven feeds.

The project is currently released in Show HN format, community feedback is still accumulating, and actual effectiveness and rule quality await validation from more users.

One-line Summary

News Blocklist provides a DNS blocklist of 14,000 news sites to help users reduce information distractions.

#DNS blocklist#news blocking#attention management#open-source tool#digital detox
Share:

Related articles