Blocky

Blocky

Fast DNS proxy with ad-blocking and safe browsing

5.9kstars
257forks
Last commit: 21h ago
Repo age: 7y old
Blocky screenshot

Blocky is a lightweight DNS proxy and local DNS server designed for network-wide blocking of ads, trackers, and malicious domains. It runs as a single binary and focuses on predictable DNS behavior, performance, and simple configuration.

Key Features

  • DNS proxy with local filtering (blocklists/allowlists) for ads, trackers, and malware domains
  • Supports multiple upstream DNS resolvers with configurable selection and fallback behavior
  • Local DNS features: custom records and conditional forwarding (e.g., split DNS per domain zone)
  • DNS caching to reduce latency and upstream queries
  • Optional upstream encryption support (DNS-over-HTTPS / DNS-over-TLS) depending on configuration
  • Built-in Prometheus metrics endpoint for monitoring and alerting integration
  • Designed to run well in containers and small environments (single static Go binary)

Use Cases

  • Network-wide ad/tracker blocking for a home network without browser plugins
  • Secure and observable DNS for homelabs (metrics + encrypted upstream resolvers)
  • Split-horizon DNS for internal services (custom records + zone-based forwarding)

Blocky is a solid choice when you want a small, configurable DNS layer with filtering, caching, and monitoring. It fits well as a Pi-hole-style component in a homelab, especially when you also want flexible upstream routing and Prometheus-friendly telemetry.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

Caddy

Caddy

Modern web server with automatic HTTPS

69k
4.6k
Last commit: 2d ago

Fast, extensible web server and reverse proxy with automatic TLS certificates, simple configuration, HTTP/3 support, and production-ready observability features.

Alternative to:
NGINX Plus
NGINX Plus
+3
Traefik

Traefik

Cloud-native reverse proxy and load balancer

61k
5.8k
Last commit: 11h ago

Traefik is a dynamic reverse proxy and load balancer for Docker, Kubernetes, and microservices with automatic service discovery, routing, and TLS/ACME support.

Alternative to:
NGINX Plus
NGINX Plus
+3
Pi-hole

Pi-hole

Network-wide ad blocking via DNS sinkhole

55.2k
3k
Last commit: 1mo ago

DNS sinkhole that blocks ads, trackers, and malicious domains network-wide with a web dashboard, per-client controls, and optional DHCP/DNS features.

Alternative to:
NextDNS
NextDNS
+1
AdGuard Home

AdGuard Home

Network-wide ads and tracker blocking via DNS

32k
2.2k
Last commit: 13d ago

Self-hosted DNS server with ad/tracker blocking, custom filtering, parental controls, encrypted DNS, and per-client statistics for home networks.

Alternative to:
NextDNS
NextDNS
+1
SearXNG

SearXNG

Privacy-respecting metasearch engine you can run yourself

24k
2.4k
Last commit: 6d ago

SearXNG is a privacy-focused metasearch engine that aggregates results from many search providers, with strong customization, multiple output formats, and API support.

Alternative to:
Google Search
Google Search
+3
Termix

Termix

Web-based SSH terminal and host management workspace

9.5k
387
Last commit: 6d ago

Self-hosted web app for managing SSH connections, organizing hosts, and accessing terminals from a browser with a focus on team-friendly workflows.

Alternative to:
BeyondTrust Privileged Remote Access
BeyondTrust Privileged Remote Access
+2