dnsmasq
brew install dnsmasq
v2.93
GPL-2.0-only OR GPL-3.0-only
Lightweight DNS forwarder and DHCP server for small networks, written in C.
Why you might care
Run a local DNS cache, DHCP server, or PXE server on macOS/Linux without heavy dependencies. Single-process, minimal memory footprint, and useful for development environments, VMs, or home networks. Often used in containers and embedded systems where ISC BIND or Dnsmasq is overkill.
3.5k
30-day installs · #745
8.3k
90-day · #886
31.8k
365-day · #865
Build dependencies
Links
- https://thekelleys.org.uk/dnsmasq/doc.html
- Brew formula source: Formula/d/dnsmasq.rb
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.
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"ISC BIND",
"unbound",
"Consul"
],
"build_dependencies": [
"pkgconf"
],
"categories": [
"networking",
"dns",
"server",
"sysadmin"
],
"caveats": "On current macOS releases, `/etc/resolver/\u003cdomain\u003e` resolver overrides do not work if the nameserver is `127.0.0.1` and dnsmasq is running on a non-53 port.\nTo 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.\n",
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Lightweight DNS forwarder and DHCP server",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:37:00+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "dnsmasq",
"github_default_branch": null,
"github_last_commit_at": null,
"github_readme_excerpt": null,
"github_repo": null,
"github_stars": null,
"github_topics": [],
"homepage": "https://thekelleys.org.uk/dnsmasq/doc.html",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": "Dnsmasq - network services for small networks.",
"installs_30d": 3516,
"installs_365d": 31785,
"installs_90d": 8324,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "GPL-2.0-only OR GPL-3.0-only",
"llm_generated_at": "2026-06-20T23:46:47+00:00",
"llm_model": "claude-haiku-4-5",
"name": "dnsmasq",
"oldnames": [],
"one_liner": "Lightweight DNS forwarder and DHCP server for small networks, written in C.",
"optional_dependencies": [],
"rank_30d": 745,
"rank_365d": 865,
"rank_90d": 886,
"raw_hash": "87c9e7b207d66504",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/d/dnsmasq.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": null,
"version_stable": "2.93",
"versioned_formulae": [],
"why_use_this": "Run a local DNS cache, DHCP server, or PXE server on macOS/Linux without heavy dependencies. Single-process, minimal memory footprint, and useful for development environments, VMs, or home networks. Often used in containers and embedded systems where ISC BIND or Dnsmasq is overkill."
}