macOS
brew install blockylocal Homebrew formula metadata
安装
brew install blockylocal Homebrew formula metadata
sudo apk add blockyAlpine Linux edge package indexes · blocky · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#blockynixpkgs package indexes · pkgs/by-name/bl/blocky/package.nix · 来源: api.github.com
概览
Fast and lightweight DNS proxy as ad-blocker for local network
历史
blocky is a Go DNS proxy and ad blocker for local networks. It belongs to the self-hosted DNS-adblocking family, but its package identity is a single binary with YAML configuration, modern encrypted DNS protocols, metrics, and router/Raspberry Pi friendly deployment.
GitHub metadata dates blocky's repository to November 2019. The official README describes it as a fast, lightweight DNS proxy and ad blocker for local networks, written in Go, with blocking lists, allowlists, conditional forwarding, caching, DNSSEC-related features, Prometheus/Grafana integration, REST endpoints, and a CLI.
The README emphasizes simple operation: stateless behavior, no required database, Docker multi-arch images, a single binary, and support for x86-64, ARM, and MIPS. The docs describe YAML configuration, folder-based multi-file config merging, and generated JSON schema validation.
blocky's adoption tracks the home-network and homelab move from appliance-style ad blockers to packaged, containerized, and declarative DNS services. The input metadata records packages in Alpine apk, Homebrew, and Nix, while the README advertises Docker pulls and multi-architecture deployment.
The release stream is active: official releases include v0.32.1 on June 20, 2026, with several 0.30-plus releases earlier in 2026.
Operators run blocky as a DNS service and configure upstream resolvers, blocklists, allowlists, ports, logging, privacy options, and protocol support in YAML. The official configuration docs explain `config.yaml`, `config.yml`, and using `--config` to point at a folder of `.yml` or `.yaml` files that are merged in lexical order.
blocky is interesting to package people because it packages an infrastructure service like a normal CLI: one Go binary, config schema, validation command, system-service-friendly behavior, and no mandatory database. That makes it easy to slot into Homebrew, Nix, Alpine, containers, routers, and homelab automation.
It also sits in the same practical category as Pi-hole and AdGuard Home while keeping a config-file-first shape that appeals to users who prefer declarative package-managed systems.
安全态势
formula declares a Homebrew service.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
config.yamlconfig.ymlfolder passed to --config containing *.yml*.yaml files可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
blocky | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/0xerr0r/blocky
安装元数据
| 软件包键 | brew:blocky |
|---|---|
| 版本 | 0.33.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/blocky |
| 主页 | https://0xerr0r.github.io/blocky/ |
| 仓库 | https://github.com/0xerr0r/blocky |
| 上游文档 | https://0xerr0r.github.io/blocky/latest |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/0xerr0r/blocky/archive/refs/tags/v0.33.0.tar.gz |
| 最后更新 | 2026-06-30T09:18:06Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | declared |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | blocky |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
blocky
nix profile install nixpkgs#blockyblocky 0.30.0-r0
DNS proxy ad-blocker for local network
https://github.com/0xERR0R/blocky
sudo apk add blockyblocky-openrc 0.30.0-r0
DNS proxy ad-blocker for local network (OpenRC init scripts)
https://github.com/0xERR0R/blocky
sudo apk add blocky-openrc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.