Maza ad blocking logo

Maza ad blocking

Website

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 screenshot

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:

Share:

Similar to Maza ad blocking

Pi-hole logo

Pi-hole

Network-wide DNS sinkhole for ad and tracker blocking

60.6k
3.3k
Last commit

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.

Actively maintained
Alternative to:
AdGuard logo
AdGuard
+7
AdGuard Home logo

AdGuard Home

Network-wide DNS server that blocks ads, trackers, phishing and malware

36.4k
2.5k
Last commit

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.

GPL-3.0Actively maintained
Alternative to:
AdGuard logo
AdGuard
+5
GoAway logo

GoAway

Lightweight DNS sinkhole with a web admin dashboard

732
35
Last commit

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.

MITActively maintained
Alternative to:
AdGuard logo
AdGuard
+5
Privoxy logo

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.

Activity unknown
Alternative to:
AdGuard logo
AdGuard
+6
Blocky logo

Blocky

Fast, lightweight DNS proxy and ad-blocker in Go

6.9k
298
Last commit

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.

Apache-2.0Actively maintained
Alternative to:
NextDNS logo
NextDNS
+7
iSponsorBlockTV logo

iSponsorBlockTV

SponsorBlock skipper for YouTube apps on TV devices

6k
253
Last commit

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

GPL-3.0Actively maintained