macOS
brew install dnsmasqlocal Homebrew formula metadata
sudo port install dnsmasqMacPorts ports tree · net/dnsmasq/Portfile · ソース: api.github.com
brew
dnsmasq のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install dnsmasqlocal Homebrew formula metadata
sudo port install dnsmasqMacPorts ports tree · net/dnsmasq/Portfile · ソース: api.github.com
sudo apk add dnsmasqAlpine Linux edge package indexes · dnsmasq · ソース: dl-cdn.alpinelinux.org
sudo apt install dnsmasqDebian stable package indexes · dnsmasq · ソース: deb.debian.org
sudo dnf install dnsmasqFedora Rawhide package metadata · dnsmasq · ソース: dl.fedoraproject.org
nix profile install nixpkgs#dnsmasqnixpkgs package indexes · pkgs/by-name/dn/dnsmasq/package.nix · ソース: api.github.com
sudo pacman -S dnsmasqArch Linux sync databases · dnsmasq · ソース: geo.mirror.pkgbuild.com
sudo zypper install dnsmasqopenSUSE Tumbleweed package metadata · dnsmasq · ソース: download.opensuse.org
概要
Lightweight DNS forwarder and DHCP server
履歴
dnsmasq is a lightweight DNS forwarder, DHCP server, router-advertisement daemon, and network-boot helper for small networks. It is one of the classic Unix packages for making a laptop, router, lab VM, or embedded box hand out names and addresses.
Simon Kelley's dnsmasq project documents a deliberately small service for DNS, DHCP, TFTP, PXE, and related local-network functions. The official documentation emphasizes small-network infrastructure: local DNS caching and forwarding, DHCP leases, static host mappings, and boot services without deploying a full enterprise DNS/DHCP suite.
The public dnsmasq site keeps the manual, downloads, changelog, and gitweb repository together, reflecting its older upstream style: a compact C daemon, tarball releases, a traditional mailing-list-oriented maintenance model, and broad downstream packaging.
dnsmasq became widely adopted because it solves the ordinary edge-network problem in one daemon. It is packaged by Homebrew, Debian and Ubuntu, Fedora/DNF, Alpine, Arch, MacPorts, Nix, and openSUSE-style distributions, and it appears in routers, virtualization setups, container labs, and developer machines.
Its adoption history is also tied to network appliances and local development tooling: dnsmasq can be the DNS cache on a router, the DHCP server on a test subnet, or the wildcard/local-domain resolver on a developer laptop.
Administrators use dnsmasq to cache and forward DNS, serve DHCP leases, define local hostnames, provide TFTP/PXE boot support, and advertise IPv6 router information. It is commonly configured with a single dnsmasq.conf file plus optional hosts and lease files.
Package users care that dnsmasq is small enough to run on embedded systems but standard enough to be scripted and supervised like any other Unix daemon.
dnsmasq is package-nerd infrastructure canon: tiny, old, everywhere, and still the fastest route from blank machine to working local DNS and DHCP. It often appears as a transitive operational dependency behind friendlier tools.
Its significance is also historical. Before every platform had polished local-network UX, dnsmasq was the practical package that let developers and operators compose DNS, DHCP, TFTP, and lab-network behavior from one service.
セキュリティ状態
broad file, network, media, or database tool signal. formula declares a Homebrew service.
リスク orange · 信頼度 中 · infrastructure
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
/etc/dnsmasq.conf/usr/local/etc/dnsmasq.conf実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
dnsmasq | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://thekelleys.org.uk/dnsmasq/doc.html
インストールメタデータ
| パッケージキー | brew:dnsmasq |
|---|---|
| バージョン | 2.93 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/dnsmasq |
| ホームページ | https://thekelleys.org.uk/dnsmasq/doc.html |
| リポジトリ | http://thekelleys.org.uk/git/dnsmasq.git |
| 上流ドキュメント | https://thekelleys.org.uk/dnsmasq/doc.html |
| ライセンス | GPL-2.0-only OR GPL-3.0-only |
| ソースアーカイブ | https://thekelleys.org.uk/dnsmasq/dnsmasq-2.93.tar.gz |
| 最終更新 | 2026-06-04T15:31:34Z |
| Pulse | updated |
| ビルド依存関係 | pkgconf |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | declared |
| 注意点 | 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. |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | dnsmasq |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
dnsmasq 2.91-1+deb13u1
Small caching DNS proxy and DHCP/TFTP server - system daemon
https://www.thekelleys.org.uk/dnsmasq/doc.html
sudo apt install dnsmasqdnsmasq-base 2.91-1+deb13u1
Small caching DNS proxy and DHCP/TFTP server - executable
https://www.thekelleys.org.uk/dnsmasq/doc.html
sudo apt install dnsmasq-basednsmasq-base-lua 2.91-1+deb13u1
Small caching DNS proxy and DHCP/TFTP server - executable, Lua-enabled
https://www.thekelleys.org.uk/dnsmasq/doc.html
sudo apt install dnsmasq-base-luadnsmasq-utils 2.91-1+deb13u1
Utilities for manipulating DHCP leases
https://www.thekelleys.org.uk/dnsmasq/doc.html
sudo apt install dnsmasq-utilsdnsmasq
nix profile install nixpkgs#dnsmasqdnsmasq 2.90-2build2
Small caching DNS proxy and DHCP/TFTP server - system daemon
https://www.thekelleys.org.uk/dnsmasq/doc.html
sudo apt install dnsmasqdnsmasq-base 2.90-2build2
Small caching DNS proxy and DHCP/TFTP server - executable
https://www.thekelleys.org.uk/dnsmasq/doc.html
sudo apt install dnsmasq-basednsmasq-base-lua 2.90-2build2
Small caching DNS proxy and DHCP/TFTP server - executable, Lua-enabled
https://www.thekelleys.org.uk/dnsmasq/doc.html
sudo apt install dnsmasq-base-luadnsmasq-utils 2.90-2build2
Utilities for manipulating DHCP leases
https://www.thekelleys.org.uk/dnsmasq/doc.html
sudo apt install dnsmasq-utilsdnsmasq 2.93-r0
A lightweight DNS, DHCP, RA, TFTP and PXE server
https://www.thekelleys.org.uk/dnsmasq/
sudo apk add dnsmasqdnsmasq-common 2.93-r0
A lightweight DNS, DHCP, RA, TFTP and PXE server (common files)
https://www.thekelleys.org.uk/dnsmasq/
sudo apk add dnsmasq-commondnsmasq-dnssec 2.93-r0
A lightweight DNS, DHCP, RA, TFTP and PXE server with DNSSEC support
https://www.thekelleys.org.uk/dnsmasq/
sudo apk add dnsmasq-dnssecdnsmasq-dnssec-dbus 2.93-r0
A lightweight DNS, DHCP, RA, TFTP and PXE server with DNSSEC and D-Bus support
https://www.thekelleys.org.uk/dnsmasq/
sudo apk add dnsmasq-dnssec-dbusdnsmasq-dnssec-nftset 2.93-r0
A lightweight DNS, DHCP, RA, TFTP and PXE server with DNSSEC and nftables set support
https://www.thekelleys.org.uk/dnsmasq/
sudo apk add dnsmasq-dnssec-nftsetdnsmasq-doc 2.93-r0
A lightweight DNS, DHCP, RA, TFTP and PXE server (documentation)
https://www.thekelleys.org.uk/dnsmasq/
sudo apk add dnsmasq-docdnsmasq-openrc 2.93-r0
A lightweight DNS, DHCP, RA, TFTP and PXE server (OpenRC init scripts)
https://www.thekelleys.org.uk/dnsmasq/
sudo apk add dnsmasq-openrcソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.