Xtra 为 Beta 且误杀率更高,可能影响正常站点或服务;不同客户端要选对格式,hosts、domains、adblock、dnsmasq 等格式不能混用;Xtra 仅在 releases 页面提供全部格式,不在常规路径下。
把对应格式的列表 URL 填进客户端设置,例如 Pi-hole 用 https://raw.githubusercontent.com/badmojr/1Hosts/master/Lite/domains.txt,uBlock Origin 用 https://raw.githubusercontent.com/badmojr/1Hosts/master/Lite/adblock.txtREADME 未说明;这是纯文本列表,本身不占算力,实际要求取决于你选用的 DNS 服务或客户端。
一套持续维护的 DNS 拦截列表,用来屏蔽广告、跟踪器和恶意域名,提供 Lite 与 Xtra 两档强度
一套面向隐私保护和安全浏览的高级 DNS 过滤/拦截列表,可直接导入 AdGuard、AdAway 等工具屏蔽广告、跟踪器和恶意域名。
核心能力
- 提供 Lite 与 Xtra 两档列表,按误杀容忍度取舍
- 按客户端输出 hosts、domains、adblock、dnsmasq、unbound、rpz 等多种格式
- 支持 AdAway、Pi-hole、uBlock Origin、AdGuardHome、dnscrypt-proxy 等客户端
- 提供 ControlD、nextDNS、AdGuard DNS、RethinkDNS 的现成 DNS 接入地址
- 自 2017 年起持续维护,体积比同类列表更小
容易踩的坑
- latestLists最新正式版2026-09-03 · 2026-09-03 12:28 UTC
Chores
- v8.09.02 (GitHub Action)
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
1Hosts
Safeguard your device(s) against pesky ads, trackers, and malware.
Usage Notes
Choose between Lite and Xtra based on your needs, protection level, and tolerance for issues like false positives.
-
Lite
For general users, beginners, families, or casual browsing where stability matters.
Low false positives: Accurate, non-disruptive blocking. -
Xtra
Ideal for advanced users or privacy enthusiasts focused on maximum threat mitigation, even if it requires troubleshooting.
However, it carries a higher false positive rate. This is an inherent trade-off for its aggressive nature, and users can report issues for removals. Not for everyone!
One easy trick is to use the "Lite" blocklist as your foundation, applied directly through a hosts file on your device.
This approach minimizes clutter in your DNS logs by handling basic blocking at the local level. Given that the Lite list is exceptionally accurate and reliable, it allows you to swiftly pinpoint any issues—since queries blocked via the hosts file are stopped before they ever hit your DNS resolver (e.g., NextDNS with Xtra enabled).
ControlD: updates every 30 minutes; supports subdomain/wildcard & CNAME blocking; unlimited queries.
nextDNS: updates every 30 minutes; customizable; supports subdomain/wildcard & CNAME blocking; capped at 300k queries per month (free); sign up required. Click here.
AdGuard DNS: updates every hour; customizable; supports subdomain/wildcard & CNAME blocking; 30-day (unlimited) trial available, then capped at 300k queries per month (free); sign up required. Click here.
RethinkDNS: updates infrequently; supports subdomain/wildcard & CNAME blocking; unlimited queries; open-source.
Compatible Software Suite
- Android: AdAway, Blokada, personalDNSfilter, RethinkDNS, InviZible Pro
- iOS: DNSCloak
- PC: uBlock Origin, AdGuardHome, dnscrypt-proxy
- Others: Pi-hole, OpenSnitch, Knot, Bind9, PowerDNS, dnsmasq, Unbound, Little Snitch
Why 1Hosts?
Highly effective, compact, and actively maintained (since: Dec 2, 2017). Smaller in size compared to alternatives, yet blocks more for many users.
⠀
Help us create a better experience <3!
- ⭐ Star the repo.
- Report false positives or issues via GitHub Issues.
- Share with friends for a safer web.