
Blocky
Fast, lightweight DNS proxy and ad-blocker in Go

Blocky is an open-source DNS proxy and ad-blocker designed for local networks. It intercepts and filters DNS queries using external blocklists and per-client rules while offering modern DNS protocol support and metrics for observability.
Key Features
- DNS blocking using external allow/deny lists (ad, malware) with periodic reloads and regex support
- Per-client-group allow/deny lists and upstream resolver configuration (e.g., groups for kids or IoT devices)
- Deep CNAME inspection and response-IP blocking against IP lists
- Supports DNS over UDP/TCP, DNS-over-HTTPS (DoH) and DNS-over-TLS (DoT); DNSSEC validation supported
- Configurable caching, prefetching and multi-upstream resolution for improved performance and low memory footprint
- Stateless single-binary architecture with multi-architecture Docker images and community Helm chart for Kubernetes
- Prometheus metrics exposure and prepared Grafana dashboards; logging to CSV or SQL backends (MySQL/MariaDB/PostgreSQL/Timescale)
- REST API endpoints and CLI tooling for operational tasks
Use Cases
- Network-wide ad and tracker blocking for home or small office networks with per-device rules
- Parental control and device grouping to apply different filtering policies (e.g., kids vs. smart devices)
- Deploy as a lightweight cluster or edge DNS resolver (Docker or Kubernetes) with observability via Prometheus/Grafana
Limitations and Considerations
- No official built-in web administration UI; management is primarily via YAML configuration, CLI and REST API, and third-party UIs exist separately
- Stateless design means dynamic persistent storage of runtime changes (e.g., centrally editable blocklists) requires external tooling or orchestration to synchronize across instances
Blocky focuses on simplicity, performance and transparency for DNS filtering and observability. It is designed to be integrated into existing tooling and monitoring stacks for operational management.
Categories:
Tags:
Tech Stack:
Similar Services

Pi-hole
Network-wide DNS sinkhole for ad and tracker blocking
Pi-hole is a network-wide DNS sinkhole that blocks ads and trackers for all devices on your network, with a web dashboard, query logs, and optional DHCP server.


AdGuard Home
Network-wide DNS server that blocks ads, trackers, phishing and malware
Open-source DNS-based ad & tracker blocking server for networks. Offers per-device rules, parental controls, encrypted upstream DNS (DoH/DoT/DNSCrypt), web UI and API.


MyIP (IPCheck.ing)
Open-source IP toolbox for IP, DNS, WebRTC and network diagnostics
MyIP (IPCheck.ing) is an open-source web IP toolbox that detects local/public IPs, runs DNS leak and WebRTC checks, speed/latency/MTR tests, availability and whois lookup...

Technitium DNS Server
Authoritative and recursive DNS server with web console
Cross-platform DNS server with authoritative/recursive modes, encrypted DNS (DoH/DoT/DoQ), DNSSEC, ad/malware blocking, DHCP, and an HTTP API with web admin UI.

Unbound
Validating, recursive, caching DNS resolver
Standards-based validating recursive DNS resolver with DNSSEC validation, DNS-over-TLS/HTTPS support and configurable caching for privacy and performance.

OPNsense
Open source firewall and routing platform for network security
OPNsense is an open source FreeBSD-based firewall and routing platform with a web GUI, API, VPN, traffic shaping, and security features for networks and homelabs.


