dnsmasq

Install command:
brew install dnsmasq

Lightweight DNS forwarder and DHCP server

https://thekelleys.org.uk/dnsmasq/doc.html

License: GPL-2.0-only OR GPL-3.0-only

Formula JSON API: /api/formula/dnsmasq.json

Formula code: dnsmasq.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 2.91

Depends on when building from source:

pkgconf 2.5.1 Package compiler and linker metadata toolkit
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.

Analytics:

Installs (30 days)
dnsmasq 1,618
dnsmasq --HEAD 1
Installs on Request (30 days)
dnsmasq 1,599
dnsmasq --HEAD 1
Build Errors (30 days)
dnsmasq 6
Installs (90 days)
dnsmasq 5,914
dnsmasq --HEAD 10
Installs on Request (90 days)
dnsmasq 5,865
dnsmasq --HEAD 10
Installs (365 days)
dnsmasq 31,062
dnsmasq --HEAD 48
Installs on Request (365 days)
dnsmasq 30,750
dnsmasq --HEAD 48