dnsmasq for Mac 版
dnsmasq 是什么
dnsmasq 是一款面向小型网络的轻量级网络服务工具,主要充当 DNS 转发器和 DHCP 服务器。它能把本地设备的域名解析请求转发到上游 DNS,同时为局域网内的设备自动分配 IP 地址,省去逐台手动配置的麻烦。对于家庭网络、小型办公室或实验室环境来说,它占用资源少、配置简单,常被用在路由器固件或树莓派等小型设备上,帮助搭建稳定可靠的本地网络基础服务。习惯命令行操作的用户可以用它快速接管网络中的地址分配与域名解析工作。
如何安装 dnsmasq
- 打开 终端(按 ⌘ + 空格,输入“终端”)。
- 如果还没安装 Homebrew,先运行下面这条安装命令。
- 运行下面这条命令:
被 1 个应用依赖
以下应用的安装命令会自动安装它,按 30 天安装量排序:
- easyengine33 安装/月
二进制包支持平台
Homebrew 官方提供的预编译包(bottle)覆盖:
- Apple 芯片 · 最新 macOS
- Apple 芯片 · macOS 26 Tahoe
- Apple 芯片 · macOS 15 Sequoia
- Apple 芯片 · macOS 14 Sonoma
- Intel · macOS 14 Sonoma
- Linux · ARM64
- Linux · x86_64
安装注意事项
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.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
与同类应用对比
只对比公开元数据,不做主观推荐;需要逐项对比时见对比页。
| 应用 | 版本 | 许可证 | 架构 | 近 30 天安装 |
|---|---|---|---|---|
| dnsmasq | 2.93 | GPL-2.0-only OR GPL-3.0-only | 命令行 | 1,976 |
| transmission-cli | 4.1.4 | GPL-2.0-only OR GPL-3.0-only | 命令行 | 1,893 |
| doggo | v1.4.2 | GPL-3.0-or-later | 命令行 | 1,544 |
| bind | 9.20.30 | MPL-2.0 | 命令行 | 1,258 |
评论加载中…
评论表单加载中…