About Blocky
Blocky is a DNS proxy and ad-blocker for the local network written in Go. It blocks DNS queries using external lists covering ads and malware, with allowlisting, regex support and periodic reloads of the lists. Blocking can cover the requested domain, response CNAMEs and response IP addresses, and lists can be assigned per client group such as kids or smart home devices.
It is more than a blocker. Custom DNS resolution for chosen domains and conditional forwarding to external DNS servers are available, and upstream resolvers can differ per client group. Answers are cached, often used queries are prefetched, and several external resolvers can be used at once. Supported transports are UDP, TCP, DoH, DoT, DoQ and DoH3, and it can provide a DoH endpoint.
Blocky is a stateless single binary with no database or temporary files, configured in YAML, with a multi-arch Docker image and a community Helm chart. It runs on x86-64, ARM and MIPS, including Raspberry Pi and OpenWrt routers. Prometheus metrics, Grafana dashboards, a REST API, a CLI tool and query logging to CSV or a database are included. The project says it collects no telemetry.
Key features
- Blocks ad and malware domains with allow and deny lists
- Different lists per client group
- Conditional forwarding and custom resolution
- Caching and prefetching of DNS answers
- DoH, DoT and DoQ support
- Prometheus metrics and Grafana dashboards
- Query logging to CSV or databases
Good fit for
- Network-wide ad blocking
- Per-device DNS filtering such as for kids
- Running a private DoH endpoint
Blocky: questions and answers
- What is Blocky used for?
- Blocky is a DNS proxy and ad-blocker for the local network, written in Go, with per-client-group rules, caching and modern DNS protocols. It is a good fit for network-wide ad blocking, per-device DNS filtering such as for kids and running a private DoH endpoint.
- Is Blocky open source?
- Yes. Blocky is open source under the Apache-2.0 licence. Its source code is on GitHub at 0xERR0R/blocky and is written mainly in Go.
- Is Blocky free?
- Yes. Blocky is open source, so the software itself is free to use.
- Can I self-host Blocky?
- Yes. Blocky can be self-hosted on your own server or infrastructure.
- What is Blocky an alternative to?
- Blocky is an open-source alternative to Cisco Umbrella, NextDNS and Control D. Other open-source alternatives to Cisco Umbrella include Pi-hole, AdGuard Home and Technitium DNS Server.
- Is Blocky actively maintained?
- Yes. The most recent commit to Blocky was on 10 November 2026, and the latest release is v0.36.0, published on 9 November 2026. The project has 7.1k stars on GitHub, with 81 added in the last 30 days.
Open-source alternatives to Blocky
See all
Pi-hole
Networking & VPN
A black hole for Internet advertisements
OSSvs Cisco Umbrella★ 62k
AdGuard Home
Networking & VPN
Network-wide ads & trackers blocking DNS server
GPL-3.0vs Cisco Umbrella★ 38k
Technitium DNS Server
Networking & VPN
Technitium DNS Server
GPL-3.0vs Cloudflare★ 10k
Unbound
Networking & VPN
Unbound is a validating, recursive, and caching DNS resolver.
BSD-3-Clausevs Gcore★ 5.1k
PowerDNS
Networking & VPN
PowerDNS Authoritative, PowerDNS Recursor, dnsdist
GPL-2.0vs Cloudflare★ 4.5k
Dnscrypt Proxy
Customer Support
dnscrypt-proxy 2 - A flexible DNS proxy, with support for encrypted DNS protocols.
ISCvs NextDNS★ 14k
SaaS alternatives to Blocky
See all
Cisco Umbrella
Security
Cloud security service providing DNS-layer protection and secure web gateway
SaaS
NextDNS
Networking & VPN
Cloud DNS resolver with ad, tracker and malware blocking
SaaS
Control D
Networking & VPN
Customizable DNS filtering and traffic routing service
SaaS
Windscribe
Networking & VPN
VPN service with a free tier and ad and tracker blocking
SaaS
Cato Networks
Security
Cloud-native SASE platform combining SD-WAN and network security
SaaS
Prisma Access
Security
Palo Alto Networks cloud-delivered secure access service edge
SaaS
