Blocky DNS

Blocky is a fast and lightweight DNS proxy and ad-blocker written in Go, designed for home networks and container environments.

Why Blocky for Homelab?

  • Ultra-low Footprint: Uses minimal memory and CPU, making it ideal for low-power edge nodes (e.g. Raspberry Pi).
  • Fast In-Memory / Redis Caching: Reduces upstream DNS lookup latency across the entire tailnet or LAN.
  • Custom Blacklists & Whitelists: Block ad and telemetry domains at the DNS level without needing full browser extensions.
  • Configurable Negative Caching: Fine-grained control over cacheTimeNegative prevents persistent lookup failures when newly added services or transient records are queried.