Maza is a free, open-source Bash-based DNS ad blocker for macOS, Linux, BSD and WSL. See how it works, key features, pricing and top alternatives like Pi-hole.
Researched and fact-checked by Bartu Cavusoglu · Updated July 18, 2026
Category
DevOps
Pricing
Open Source, from Free
Verified
Not yet
Last updated
July 18, 2026
Open SourceSelf-HostedMac
Overview
Maza is a lightweight, open-source ad blocker distributed as a single Bash script rather than a full application or service. It is designed to be a simpler alternative to Pi-hole for people who only need to protect one machine and do not want to set up a dedicated server, router change, or piece of hardware.
The tool works by rewriting DNS resolution at the operating system level, so once installed it blocks known ad and tracking domains for every browser and application on the machine, not just a single browser extension's scope.
Key Features
Maza ships with the Yoyo (Peter Lowe) block list by default, covering roughly 3,700 known ad-serving domains, and can be reconfigured in one line to use larger community lists such as Steven Black's hosts file, which covers well over 135,000 domains.
Because it relies entirely on native OS tooling, Maza has no background daemon, browser extension, or account to manage. Custom domains can be added to a local config file, and the whole block list is refreshed with a single command, which keeps the tool easy to audit and modify for technically inclined users.
Pricing
Maza is completely free and open source under the Apache License 2.0. There is no paid tier, subscription, or account system of any kind.
Because there is no company monetizing the project, users get the full functionality of the script at no cost, but should also expect community-level support rather than commercial SLAs or dedicated customer service.
Key Features
DNS-level blocking — Blocks ad and tracking domains by rewriting the operating system's DNS resolution rather than relying on a browser extension.
No extra hardware or router setup — Runs directly on the protected machine using its own OS tools, unlike Pi-hole which typically needs a separate device.
Cross-platform support — Works on macOS, Linux, BSD, and Windows Subsystem for Linux (WSL).
System-wide protection — Blocks ads and trackers across every browser and application on the machine at once, not just one browser.
Switchable block lists — Ships with the Yoyo (Peter Lowe) list by default and can be switched to Steven Black's larger 135k-domain list with a one-line change.
Custom domain blocking — Users can add their own domains to a local configuration file to extend or personalize blocking.
One-command updates — The full block list can be refreshed with a single terminal command.
Zero dependencies — Distributed as a single Bash script with no external runtime, package manager, or installer required.
Pros & Cons
Pros
Completely free and open source under the Apache License 2.0
No router, dedicated hardware, or network reconfiguration required
Extremely lightweight, a single Bash script rather than a running service
Blocks ads and trackers for every app on the machine, not just the browser
Easy to customize with personal domain blocklists
Cons
No graphical interface or dashboard, command-line only
Only protects the single machine it is installed on, not a whole network
Very small, niche project with a much smaller community than Pi-hole or AdGuard Home
No official mobile app support
Documentation and support are community-driven with no commercial backing
Pricing
Open Source Free N/A
Frequently Asked Questions
What is Maza ad blocking?
Maza is a free, open-source Bash script that blocks ads and trackers by rewriting DNS resolution on the local operating system, similar in concept to Pi-hole but without needing a separate device.
How is Maza different from Pi-hole?
Pi-hole runs as a network-wide DNS server, typically on separate hardware, protecting every device on a network. Maza instead runs locally on a single machine using that machine's own DNS tools, so it only protects the device it is installed on.
Does Maza work in every browser?
Yes, because it blocks domains at the DNS level rather than inside a single browser, Maza affects all browsers and any other software on the machine that makes network requests.
Is Maza free?
Yes, Maza is free and open source under the Apache License 2.0, with no paid plans or subscriptions.
What operating systems does Maza support?
Maza is documented to work on macOS, Linux, BSD, and Windows Subsystem for Linux (WSL).
Can I add my own blocklists to Maza?
Yes, users can add custom domains to a local configuration file, and can also swap the default Yoyo list for larger third-party lists such as Steven Black's hosts file.
Tool pages we refreshed lately, from across the directory.
ZentorUpdated Nov 20, 2026 AI · Zentor is an email-first AI assistant that drafts replies in your voice and works inside Gmail, Notion, Airtable,…
Count-ITUpdated Oct 26, 2026 Retail, Restaurant & POS · Count-IT is a cloud POS system with built-in ERP features: inventory, purchasing, orders, invoicing, CRM and a B2B…
KnoloUpdated Oct 26, 2026 AI · Knolo is a no-code AI operating system that turns business knowledge into assistants, agents and automations, and…
XPayrUpdated Nov 30, 2026 Payments · Launch crypto checkout across EVM, TRON, and Solana with payment links, widgets, API checkout, player deposits,…
StoreganiseUpdated Oct 26, 2026 ERP & Business Management · Storeganise is cloud-based self-storage management software that combines online booking, billing, access control,…
TheChecker.AIUpdated Oct 26, 2026 AI Writing · TheChecker.AI is a web-based AI content detector that scores text for AI-generated writing across 40+ models, with a…
ChromePingUpdated Nov 29, 2026 Translation · Call mobiles and landlines from a browser tab on a monthly plan, from $9.99: no app, no SIM. Don't share a language?…
AI TutorUpdated Oct 26, 2026 AI Chatbots · AI Tutor is a web platform that gives access to 200+ AI models, plus tools for coding, research, content creation and…
Octopus.doUpdated Oct 26, 2026 Design · Octopus.do is a browser-based visual sitemap builder and website planner. Teams use it to map site structure, add…
Ensora HealthUpdated Nov 30, 2026 Healthcare & Wellness · Ensora Health offers EHR, practice management software, & billing solutions for mental, physical, occupational, &…