Automic VaultAutomic Vault

brew

dnsmasq を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

dnsmasq のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install dnsmasq

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install dnsmasq

MacPorts ports tree · net/dnsmasq/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add dnsmasq

Alpine Linux edge package indexes · dnsmasq · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install dnsmasq

Debian stable package indexes · dnsmasq · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install dnsmasq

Fedora Rawhide package metadata · dnsmasq · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#dnsmasq

nixpkgs package indexes · pkgs/by-name/dn/dnsmasq/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S dnsmasq

Arch Linux sync databases · dnsmasq · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install dnsmasq

openSUSE Tumbleweed package metadata · dnsmasq · ソース: download.opensuse.org

概要

パッケージ概要

Lightweight DNS forwarder and DHCP server

コマンドとエイリアス

  • dnsmasq

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2004: The official changelog records dnsmasq 2.x-era releases.
  • 2010s: dnsmasq becomes common in Linux distributions, routers, virtualization, and developer-network workflows.
  • 2020s: The project continues from its official site with tarball releases, manual pages, and a public gitweb repository.

Related projects

  • Related projects include Unbound and BIND for heavier DNS service, ISC Kea for larger DHCP deployments, dnscrypt-proxy for encrypted upstream DNS forwarding, and dnsdist for load balancing and traffic control in larger DNS environments.

セキュリティ状態

リスクレベル: orange

broad file, network, media, or database tool signal. formula declares a Homebrew service.

リスク分類器

リスク orange · 信頼度 中 · infrastructure

理由

  • broad file, network, media, or database tool signal
  • formula declares a Homebrew service

信号

  • metadata:service
  • text:server

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • formula メタデータがサービスまたはデーモンブロックを宣言しています。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
/etc/dnsmasq.conf/usr/local/etc/dnsmasq.conf

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
dnsmasqcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版2.93
マネージャ更新日2026-06-04
ローカルデータOK
上流not checked
検出された最新未検出

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
Pulseupdated
ビルド依存関係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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namednsmasq
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

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 dnsmasq
  • Section: net
  • Architecture: all
  • 3 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Dnsmasq
Debian stable package indexes · deb.debian.org · Debian stable package indexes: dnsmasq from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

dnsmasq-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-base
  • Section: net
  • Architecture: amd64
  • Source Package: dnsmasq
  • 9 依存関係
  • 1 提供
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Dnsmasq
Debian stable package indexes · deb.debian.org · Debian stable package indexes: dnsmasq-base from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

dnsmasq-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-lua
  • Section: net
  • Architecture: amd64
  • Source Package: dnsmasq
  • 10 依存関係
  • 1 提供
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Dnsmasq
Debian stable package indexes · deb.debian.org · Debian stable package indexes: dnsmasq-base-lua from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

dnsmasq-utils 2.91-1+deb13u1

Utilities for manipulating DHCP leases

https://www.thekelleys.org.uk/dnsmasq/doc.html

sudo apt install dnsmasq-utils
  • Section: net
  • Architecture: amd64
  • Source Package: dnsmasq
  • 1 依存関係
  • normalized package name match
  • 一致条件: Dnsmasq
Debian stable package indexes · deb.debian.org · Debian stable package indexes: dnsmasq-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

dnsmasq

nix profile install nixpkgs#dnsmasq
  • normalized package name match
  • 一致条件: Dnsmasq
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/dn/dnsmasq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

dnsmasq 2.90-2build2

Small caching DNS proxy and DHCP/TFTP server - system daemon

https://www.thekelleys.org.uk/dnsmasq/doc.html

sudo apt install dnsmasq
  • Section: universe/net
  • Architecture: all
  • 2 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Dnsmasq
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: dnsmasq from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

dnsmasq-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-base
  • Section: net
  • Architecture: amd64
  • Source Package: dnsmasq
  • 8 依存関係
  • 1 提供
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Dnsmasq
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: dnsmasq-base from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

dnsmasq-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-lua
  • Section: universe/net
  • Architecture: amd64
  • Source Package: dnsmasq
  • 9 依存関係
  • 1 提供
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Dnsmasq
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: dnsmasq-base-lua from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

dnsmasq-utils 2.90-2build2

Utilities for manipulating DHCP leases

https://www.thekelleys.org.uk/dnsmasq/doc.html

sudo apt install dnsmasq-utils
  • Section: net
  • Architecture: amd64
  • Source Package: dnsmasq
  • 1 依存関係
  • normalized package name match
  • 一致条件: Dnsmasq
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: dnsmasq-utils from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

dnsmasq 2.93-r0

A lightweight DNS, DHCP, RA, TFTP and PXE server

https://www.thekelleys.org.uk/dnsmasq/

sudo apk add dnsmasq
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: dnsmasq
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Dnsmasq
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dnsmasq from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

dnsmasq-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-common
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: dnsmasq
  • normalized package name match
  • 一致条件: Dnsmasq
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dnsmasq-common from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

dnsmasq-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-dnssec
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: dnsmasq
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Dnsmasq
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dnsmasq-dnssec from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

dnsmasq-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-dbus
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: dnsmasq
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Dnsmasq
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dnsmasq-dnssec-dbus from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

dnsmasq-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-nftset
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: dnsmasq
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Dnsmasq
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dnsmasq-dnssec-nftset from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

dnsmasq-doc 2.93-r0

A lightweight DNS, DHCP, RA, TFTP and PXE server (documentation)

https://www.thekelleys.org.uk/dnsmasq/

sudo apk add dnsmasq-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: dnsmasq
  • normalized package name match
  • 一致条件: Dnsmasq
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dnsmasq-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

dnsmasq-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
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: dnsmasq
  • normalized package name match
  • 一致条件: Dnsmasq
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dnsmasq-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment