Description
Blocky is a fast and lightweight DNS proxy and ad-blocker for the local network, written in Go, which the project describes as an alternative to Pi-hole. It sits between your client devices and the upstream DNS resolvers. Blocking works with external lists, such as ad-block and malware lists, and with allowlists, and you can define allow and denylists per client group, such as for children or smart home devices. Lists reload on a schedule, and regular expressions are supported. Blocking can also check the CNAME chain and the IP addresses in a response. Beyond blocking, it offers custom DNS resolution for certain names, conditional forwarding to an external DNS server, caching and prefetching for speed, and several upstream resolvers at once. It supports DNS over UDP and TCP, DNS over HTTPS, DNS over TLS, DNS over QUIC and DNS over HTTP/3, plus DNSSEC validation. Blocky says it does not collect user data or telemetry. It offers Prometheus metrics, query logs to CSV or to MySQL, MariaDB, PostgreSQL or TimescaleDB, REST endpoints and a CLI. It suits people who want to control DNS on their home network.…
Highlights
- Blocks ads and malware with external lists
- Blocklists per client group and regex
- DNS over HTTPS, TLS, QUIC and HTTP/3
- Prometheus metrics and query logging
Ratings & Reviews
No ratings yet
Be the first to rate blocky.
People also visit
Hblock
Improve your security and privacy by blocking ads, tracking and malware domains
blocky FAQ
What is Blocky?
A DNS proxy and ad-blocker for a local network, written in Go, which the project calls an alternative to Pi-hole.
Does it collect data about me?
No. The project says Blocky does not collect user data, telemetry or statistics.
Which DNS protocols does it support?
DNS over UDP and TCP, DNS over HTTPS, DNS over TLS, DNS over QUIC and DNS over HTTP/3, with DNSSEC validation of upstream resolvers.
Can different devices get different rules?
Yes. Allow and denylists can be defined per client group, such as kids or smart home devices.
How can I monitor it?
It exposes Prometheus metrics, has prepared Grafana dashboards, and can log queries to CSV or to a database.
What are the best blocky alternatives?
Popular alternatives to blocky include Blocky, Pi-Hole and App Adguard Home. See all blocky alternatives



