Sefinek-Blocklist-Collection

sefinek活跃维护

汇集 100 多个 DNS 拦截列表、覆盖超 600 万域名,并提供可定制的 Blocklist Generator,方便按需过滤广告、钓鱼和恶意站点。

🌍 A repository of blocklists for various DNS servers, featuring over 100 links and more than 6 million domains. Additionally, you can use our personalized Blocklist Generator to customize content filtering according to your individual needs, giving you full control over what should be blocked on your network.

v0.24.0发布于 2026-10-01 02:30 UTC778star +1 / 7 天36fork同步于 2026-11-10 17:56 UTC

怎么上手

由 README 提炼,执行前请确认
git clone --branch main --single-branch https://github.com/sefinek/Sefinek-Blocklist-Collection.git
cd Sefinek-Blocklist-Collection
git fetch --depth=1 origin blocklists:blocklists
git worktree add blocklists blocklists
硬件要求按 README 说明

README 未说明,本项目是纯文本域名列表,不涉及显存或 GPU,可直接导入 DNS 服务器使用

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

面向 Pi-hole、AdGuard 等 DNS 服务器的域名屏蔽列表合集,含 100+ 链接与 600 万+ 域名

汇集 100 多个 DNS 拦截列表、覆盖超 600 万域名,并提供可定制的 Blocklist Generator,方便按需过滤广告、钓鱼和恶意站点。

核心能力

  • 按滥用、广告、恶意软件等 20+ 类别提供默认屏蔽列表
  • 用在线生成器按需定制要屏蔽的内容类别
  • 提供正则表达式列表与各 DNS 服务器对应的订阅 URL
  • 通过 GitHub Actions 每 3 小时自动更新列表
  • 提供误杀白名单与误报提交渠道

容易踩的坑

不要频繁下载列表,建议每天不超过一次,因为远程列表每天只在波兰时间 01:00 和 06:00 同步两次;blocklists 分支由 Actions 自动生成,手动修改会被覆盖,PR 只能提到 main 分支;列表禁止商业使用,商用需联系作者授权

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v0.24.0
  1. v0.24.0最新正式版2026-10-01 · 2026-10-01 02:30 UTC
    1. Enabled edge caching on Cloudflare for the most popular blocklist files (/generated/v1/*.txt/.conf) - typical, smaller lists now download ~80% faster (about 5x), especially for users geographically far from the main server (New York). Very large files (70-100 MB) benefit too, though less noticeably, since at that size client bandwidth becomes the bottleneck rather than distance to the origin.
    2. Download statistics remain 100% accurate regardless of whether a file was served from the edge cache or directly from the origin.
    3. Added verification of known good bots (Googlebot, Bingbot, etc.) by IP address, instead of relying solely on the User-Agent header.
    4. Introduced automatic monitoring of the Cloudflare Workers daily request cap - if usage approaches the limit, some routes are temporarily removed from the cache and gradually restored on their own the next day.
    5. Numerous performance and stability improvements to the cache management pipeline.

    Full Changelog: https://github.com/sefinek/Sefinek-Blocklist-Collection/compare/v0.23.0...v0.24.0

  2. v0.23.02026-05-05 · 2026-05-05 16:35 UTC
    查看更新说明

    Version 0.23.0 from 19.04.2026

    1. Optimized the list generation workflow, resulting in faster performance and more consistent outputs. Additional improvements were introduced to enhance overall system reliability.
    2. From now on, every list (including external ones) includes a header at the very top. It contains key information such as title, description, license, and other relevant data.
    3. Introduced a series of minor fixes and optimizations that collectively improve project quality, system stability, and overall user experience.

    Version 0.22.1 from 16.04.2026

    1. Removed sites/lgbtqplus2.txt and other lists that were automatically generated using regexes based on external sources.
    2. Optimized the list generation process.
    3. Cleaned up the code and improved its quality.

    Version 0.22.0 from 15.04.2026

    1. Removed redundant and outdated blocklist sources:
      • BrigsLabs/judol
      • jerryn70/GoodbyeAds
      • blocklistproject/youtube
      • anudeepND/blacklist
      • 0Zinc/easylists-for-pihole
      • justdomains/adguarddns-justdomains
      • StevenBlack/fakenews-gambling-porn
      • FadeMind/hosts.extras
      • marktron/fakenews
      • deathbybandaid/piholeparser
      • kboghdady/youTube_ads_4_pi-hole
      • 4skinSkywalker/Anti-Porn-HOSTS-File
      • chadmayfield/my-pihole-blocklists
    2. Merged domains from pixiv.net and booth.pm into the anime list (anime.txt).
    3. Added new lists from hagezi/dns-blocklists:
      • gambling/hagezi/gambling-onlydomains.fork.txt
      • porn/hagezi/nsfw-onlydomains.fork.txt
    4. Improved and extended the false positive reporting system (/false-positives) — including a confirmation email for reporters and improved form validation and appearance.
    5. Fixed incorrect canonical comments in AdGuard.md, dnsmasq.md, and RPZ.md.
    6. Updated backend dependencies.
    7. Other minor quality improvements.

    Due to the removal of several blocklist sources, it is recommended to regenerate your collection at sefinek.net/blocklist-generator.

    Full Changelog: https://github.com/sefinek/Sefinek-Blocklist-Collection/compare/v0.21.0...v0.23.0

  3. v0.21.02026-04-08 · 2026-04-08 21:04 UTC
    查看更新说明

    Version 0.21.0 from 8.04.2026

    1. Generated blocklists have been moved to a dedicated blocklists orphan branch, keeping the main branch history clean and free from automated commits.
    2. Sefinek's curated domain lists have been moved from blocklists/templates/ to a new lists/ directory directly on main, making them easy to browse and manage.
    3. The update-blocklists workflow now triggers only on changes to lists/** instead of any .txt file.
    4. Updated pull.sh to sync both main and the blocklists branch via git worktree.
    5. Minor frontend improvements.

    On April 8, 2026, maintenance work was carried out as part of this update's deployment — the server was unavailable for approximately 30 minutes during that time. Any errors related to downloading lists during that period can be disregarded.

    Version 0.20.0 from 17.03.2026

    1. Added the ability to report false positives at /false-positives.
    2. Added a sound when navigating to folders in File Explorer.
    3. Fixed an issue with last modified dates in File Explorer.
    4. Improved security measures.
    5. Various performance improvements.
    6. Fixed rate limiter counters not being shared across cluster workers.
    7. Minor fixes.

    Version 0.19.0 from 3.03.2026

    1. Improved the design of https://sefinek.net/blocklist-generator.
    2. Added a new list: https://blocklist.sefinek.net/generated/v1/0.0.0.0/tracking-and-telemetry/sefinek.hosts.txt
    3. Completely redesigned the project frontend to make it more modern and intuitive.
    4. Added a new subpage /metrics with extended statistics.
    5. Templates no longer use the 0.0.0.0 prefix and are now saved as standard hosts files for greater convenience.
    6. Renamed: malicious/sefinek.hosts2.txt, malicious/sefinek.hosts1.txt to malicious/sefinek.hosts.txt.
    7. Moved crypto/sites/sefinek.hosts.txt to crypto/sefinek.hosts.txt.
    8. Removed the following lists:
      • malicious/digitalside/latestdomains.fork.txt
      • ads/blocklistproject/youtube.fork.txt
      • hate-and-junk/developerdan/extended.fork.txt
      • hate-and-junk/sefinek.hosts.txt
      • developerdan/amp-hosts-extended.fork.txt
      • piracy/sefinek.hosts.txt
      • malicious/suspicious.txt
    9. Introduced additional improvements and optimizations.
    10. And many more changes and fixes!
  4. v0.18.02025-04-27 · 2025-04-27 07:41 UTC
    查看更新说明

    Update v0.18.0 - 27.04.2025

    1. Added new domain lists collected using regular expressions. See this file for more details.
      • anime/main.txt
      • sites/lgbtqplus2.txt
      • gambling/sefinek.hosts2.txt
      • porn/sefinek.hosts2.txt
      • piracy/sefinek.hosts.txt
      • hate-and-junk/sefinek.hosts.txt
      • sites/esport.txt
      • sites/social-media.txt
    2. Updated Express.js to version 5.
    3. Implemented own file-serving solution. Files are now served about 500ms faster!
    4. Optimized statistics collection and reduced database load.
    5. Minor quality fixes and performance improvements.
    6. Enhanced the list generator UI (sefinek.net).
  5. v0.17.02024-07-14 · 2024-07-14 13:34 UTC
    查看更新说明

    Update v0.17.0 - 14.07.2024

    1. Added:
      • dating-services/ShadowWhisperer/dating.fork.txt
      • malicious/ShadowWhisperer/malware.fork.txt
      • porn/ShadowWhisperer/adult.fork.txt
      • scam/ShadowWhisperer/scam.fork.txt
      • tracking-and-telemetry/ShadowWhisperer/tracking.fork.txt
      • dating-services/sefinek.hosts.txt
    2. The code responsible for gathering statistics has been optimized. From now on, the statistics will not impact the file serving time, etc.
    3. Code cleanup and other improvements.
    4. Updated dependencies to the latest versions.
    5. Other fixes.

    What's Changed

    New Contributors

    Full Changelog: https://github.com/sefinek24/Sefinek-Blocklist-Collection/compare/v0.16.0...v0.17.0

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    📃 How to Acquire the Blocklist

    • The first option is to generate your own list using the blocklist generator - recommended for users who want to tailor the list to their specific needs and preferences.
    • The second option is to use the default list - ideal for those who prefer a quick and straightforward solution without any configuration.

    [!TIP]
    Do you have questions or want to receive notifications about important changes or new features in my repositories? Join my Discord server! If you do not use Discord, you can also open an issue on GitHub.

    [!IMPORTANT]
    Please do not download the lists too frequently (e.g., every few hours). It is recommended to download them no more than once per day. Frequent downloads are unnecessary, as the lists are updated only twice during the night (Polish time). More information can be found here.

    [!IMPORTANT]
    I do not allow commercial use of my lists. Lists that I did not create are distributed in accordance with the licensing terms set by their original authors.
    If you wish to use the Sefinek Blocklist Collection for commercial purposes, please contact me via email.

    ❌ How to Report a False Positive?

    Please visit https://blocklist.sefinek.net/false-positives. Within 2 days after the analysis is completed, the specified domain will be added to the whitelist. Subsequently, usually within 1 day, the false positive entry will be automatically removed from the blocklist via GitHub Actions.

    📥 Update Schedule

    • This repository:
      The blocklists in this repository are updated every 3 hours via GitHub Actions.
    • Remote (blocklist.sefinek.net):
      Synchronization takes place daily at 01:00 and 06:00 (24-hour format, Poland time CET, UTC+1).
      Cron expression: 0 1,6 * * * (at minute 0, at hours 1 and 6).

    [!IMPORTANT]
    Visit this page to check the time of the next repository synchronization in your time zone.
    This will help you schedule your cron job more effectively.

    🌍 Links

    ✨ Default Blocklist

    • Abuse: Blocks domains associated with harassment or online abuse.
    • Ads: Blocks domains serving advertisements.
    • AMP Hosts: Blocks Accelerated Mobile Pages hosts, which often display ads and track users.
    • Cryptomining: Blocks domains that exploit devices for cryptocurrency mining.
    • Dating Services: Blocks dating platforms and related scam domains.
    • Drugs: Blocks domains promoting or selling drugs.
    • Fake News: Blocks domains known for publishing misleading or false information.
    • Gambling: Blocks online gambling websites.
    • Hate Speech and Low-Quality Sites: Blocks domains promoting hate speech, disinformation, or low-quality content.
    • Malware: Blocks malicious and harmful domains.
    • Phishing: Blocks domains used for phishing attacks.
    • Piracy: Blocks domains distributing illegal content.
    • Pornography: Blocks adult content domains.
    • Ransomware: Blocks domains associated with ransomware activity.
    • Redirects: Blocks domains that redirect users to unwanted or deceptive pages.
    • Scams: Blocks domains involved in fraudulent or scam activities.
    • Spam: Blocks domains associated with unsolicited communications.
    • Spyware: Blocks domains distributing spyware or adware.
    • Telemetry and Tracking: Blocks domains used for tracking and analytics.
    • Useless Sites: Blocks parked or low-value domains with no meaningful content.
    • Social Media and Games: Blocks platforms such as TikTok, Snapchat, OmeTV, Riot Games, Valorant, League of Legends, and similar services.

    ✅ Good to Know

    • New lists are added periodically. You can also install the Sefinek Blocklists app from the Microsoft Store for quick and convenient access to these lists.
    • It is recommended to regularly check this repository for updates and potential changes.
    • While this blocklist can improve your privacy and security, it may occasionally block legitimate content or services unintentionally.

    🤝 Contributing

    Contributions are welcome - if you have suggestions or ideas, open a Pull request with your proposed changes. Your efforts are greatly appreciated and help make this project better for everyone. Thank you!

    False positive

    Add the incorrectly blocked domain to whitelists/main.txt, following the existing entries as a reference, then submit a Pull request. To report a false positive without opening a pull request, visit: https://blocklist.sefinek.net/false-positives.

    Submitting a new domain for blocking

    Add the domain to the appropriate file in the lists folder, matching the relevant category. Make sure it is not already listed, then submit a Pull request with a brief explanation.

    Branches

    The blocklists branch is generated automatically and should not be modified manually. Any changes made directly to this branch will be overwritten on the next GitHub Actions run. Pull requests should target the main branch only.

    📥 How to Clone?

    git clone --branch main --single-branch https://github.com/sefinek/Sefinek-Blocklist-Collection.git
    cd Sefinek-Blocklist-Collection
    git fetch --depth=1 origin blocklists:blocklists
    git worktree add blocklists blocklists
    

    🌠 Other Useful Repositories

    Cloudflare-WAF-Expressions | Malicious-IP-Addresses | Blacklisted-Emails

    🐈 Sources of Images Used

    pinterest.comfreepik.com

    📝 CC BY-NC-ND 4.0 License

    Copyright © 2025-2026 Sefinek