☰ 菜单
首页›网络›dnsmasq
命令行 开源 1,976 次安装/月

dnsmasq for Mac 版

dnsmasq 是什么

dnsmasq 是一款面向小型网络的轻量级网络服务工具,主要充当 DNS 转发器和 DHCP 服务器。它能把本地设备的域名解析请求转发到上游 DNS,同时为局域网内的设备自动分配 IP 地址,省去逐台手动配置的麻烦。对于家庭网络、小型办公室或实验室环境来说,它占用资源少、配置简单,常被用在路由器固件或树莓派等小型设备上,帮助搭建稳定可靠的本地网络基础服务。习惯命令行操作的用户可以用它快速接管网络中的地址分配与域名解析工作。

如何安装 dnsmasq

  1. 打开 终端(按 ⌘ + 空格,输入“终端”)。
  2. 如果还没安装 Homebrew,先运行下面这条安装命令。
  3. 运行下面这条命令:

被 1 个应用依赖

以下应用的安装命令会自动安装它,按 30 天安装量排序:

二进制包支持平台

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 天安装
dnsmasq2.93GPL-2.0-only OR GPL-3.0-only命令行1,976
transmission-cli4.1.4GPL-2.0-only OR GPL-3.0-only命令行1,893
doggov1.4.2GPL-3.0-or-later命令行1,544
bind9.20.30MPL-2.0命令行1,258

网络中的类似应用

评论加载中…

评论表单加载中…