CocoaEngineering
FORMULAv2.93

dnsmasq for macOS

Lightweight DNS forwarder and DHCP server

Installation on macOS (Apple Silicon & Intel)

brew install dnsmasq

Package Metadata

Identifierdnsmasq
Current Version2.93
Tap Repositoryhomebrew/core
LicenseGPL-2.0-only OR GPL-3.0-only
Upstream Homepagehttps://thekelleys.org.uk/dnsmasq/doc.html
Last Verified2026-11-26T14:43:31Z

Build Dependencies (1)

pkgconf

Engineering Caveats

On current macOS releases, `/etc/resolver/<domain>` resolver overrides do not work if the nameserver is `127.0.0.1` and dnsmasq is running on a non-53 port.
To use scoped resolver zones reliably, bind dnsmasq to a non-localhost IP (e.g., a loopback alias like 10.0.0.1) on port 53.
Browse macOS Packages A–Z