Maza ad blocking

Maza ad blocking

Local DNS-based ad blocker using your operating system

1.9kstars
72forks
Last commit: 1mo ago
Repo age: 6y old
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 Services

Pi-hole

Pi-hole

Network-wide DNS sinkhole for ad and tracker blocking

55.3k
3k
Last commit: 1mo ago

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.

Alternative to:
AdGuard
AdGuard
+7
Headscale

Headscale

Self-hosted control server for Tailscale-based WireGuard networks

34.3k
1.8k
Last commit: 8d ago

Headscale is an open source, self-hosted implementation of the Tailscale control server for managing a private tailnet, nodes, keys, IPs, and routes.

Alternative to:
Tailscale
Tailscale
+9
AdGuard Home

AdGuard Home

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

32.1k
2.2k
Last commit: 1d ago

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.

Alternative to:
AdGuard
AdGuard
+5
Web-Check

Web-Check

All-in-one OSINT tool for analyzing any website.

30k
2.4k
Last commit: 4d ago

Comprehensive on-demand OSINT to analyze a website's security, architecture, and tech stack.

Alternative to:
Shodan
Shodan
+8
wg-easy

wg-easy

WireGuard VPN server with a web-based admin interface

24.1k
2.3k
Last commit: 2d ago

Run a WireGuard VPN server with an easy web admin UI to manage clients, generate configs and QR codes, and monitor connections and traffic.

Alternative to:
Tailscale
Tailscale
+14
NetBird

NetBird

WireGuard-based overlay network with SSO/MFA and granular access controls.

21.1k
1k
Last commit: 1d ago

Open-source zero-trust networking platform delivering a WireGuard-based private network with centralized access control, SSO/MFA, and cross-platform clients.

Alternative to:
Tailscale
Tailscale
+17