
Maza ad blocking
Local DNS-based ad blocker using your operating system
1.9k stars 73 forks last commit first released Apache-2.0
Actively maintained
Last commit 14 Aug 2026.

Maza ad blocking is a lightweight, local ad blocker that blocks domains at the DNS/hosts level using native operating system tools. It is implemented as a Bash script and works across common Unix-like environments, including Linux and macOS.
Key Features
- Blocks ads and trackers for any browser or application by modifying the system hosts file
- One-command lifecycle: start, stop, status, and update blocked domain lists
- Supports custom blocklists and an ignore list to allow specific domains
- Optional dnsmasq output for wildcard/subdomain-style blocking beyond hosts file limitations
- Supports scheduled updates via cron for automatic list refresh
Use Cases
- Personal workstation ad/tracker blocking without browser extensions
- Lightweight DNS/hosts-based filtering on developer machines and laptops
- Building a small DNS-based blocker setup with dnsmasq for a local network
Limitations and Considerations
- Hosts-file blocking cannot use wildcards; dnsmasq is recommended for broader subdomain coverage
- Requires elevated privileges to modify system networking configuration (for example, hosts file)
Maza is a minimal, script-based approach to system-level domain blocking with a focus on simplicity and portability. It is best suited for users who want straightforward, local filtering and easy list management.
Categories:
Tags:
Tech Stack:
Similar to Maza ad blocking

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.


GoAway
Lightweight DNS sinkhole with a web admin dashboard
Self-hosted DNS sinkhole written in Go that blocks ads, trackers and malicious domains; provides a modern web dashboard, Docker support, DoT/DoH options and realtime stats.

Privoxy
Non-caching web proxy with privacy and content filtering
Privoxy is a self-hosted, non-caching web proxy that filters ads and trackers, rewrites content, and modifies HTTP headers for privacy and access control.


Blocky
Fast, lightweight DNS proxy and ad-blocker in Go
Open-source DNS proxy and network-wide ad-blocker for local networks. Supports DoH/DoT, per-client rules, caching, deep CNAME inspection, Prometheus metrics, Docker and Helm.

iSponsorBlockTV
SponsorBlock skipper for YouTube apps on TV devices
Self-hosted SponsorBlock client that connects to YouTube TV apps on smart TVs and streaming devices to automatically skip sponsor segments, intros, and more.

