dnsmasq
Install command:
brew install dnsmasqLightweight DNS forwarder and DHCP server
https://thekelleys.org.uk/dnsmasq/doc.html
License: GPL-2.0-only OR GPL-3.0-only
Development: Pull requests
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.93 |
Depends on when building from source:
| pkgconf | 3.0.6 | Package compiler and linker metadata toolkit |
Binaries:
dnsmasq
Service:
| Start now and at startup: | sudo brew services start dnsmasq |
| Run directly: | $HOMEBREW_PREFIX/opt/dnsmasq/sbin/dnsmasq --keep-in-foreground -C $HOMEBREW_PREFIX/etc/dnsmasq.conf -7 $HOMEBREW_PREFIX/etc/dnsmasq.d,*.conf |
| 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:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 2,077 | 7,979 | 31,084 |
Installs (--HEAD) | 5 | 11 | 47 |
| Installs on Request | 2,072 | 7,942 | 30,873 |
Installs on Request (--HEAD) | 5 | 11 | 47 |
| Build Errors | 0 |