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

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

## インストール

```sh
sudo av install brew:dnstracer
```

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

### macOS

- Homebrew (100%):

```sh
brew install dnstracer
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dnstracer
```

  証拠: MacPorts ports tree: net/dnstracer/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add dnstracer
```

  証拠: Alpine Linux edge package indexes: dnstracer from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install dnstracer
```

  証拠: Debian stable package indexes: dnstracer from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install dnstracer
```

  証拠: Fedora Rawhide package metadata: dnstracer from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#dnstracer
```

  証拠: nixpkgs package indexes: pkgs/by-name/dn/dnstracer/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install dnstracer
```

  証拠: openSUSE Tumbleweed package metadata: dnstracer from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:dnstracer
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/dnstracer>
- **バージョン:** 1.9
- **ソース概要:** Trace a chain of DNS servers to the source
- **ホームページ:** <https://www.mavetju.org/unix/dnstracer.php>
- **上流ドキュメント:** <https://www.mavetju.org/unix/dnstracer.php>
- **ライセンス:** BSD-2-Clause
- **ソースアーカイブ:** <https://www.mavetju.org/download/dnstracer-1.9.tar.gz>
- **最終更新:** 2026-07-17T01:00:37-04:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- dnstracer (cli)
- dnstracer (エイリアス)

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.9
- マネージャ更新日: 2026-07-17
- ローカルデータ: OK
- 上流リポジトリ: https://www.mavetju.org/unix/dnstracer.php
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

dnstracer is a small DNS troubleshooting tool that follows the delegation chain for a name back toward authoritative servers. Its history is thinly documented, but the official pages show an early-2000s Unix utility aimed at explaining how DNS answers are reached.

### プロジェクトの歴史

The Mavetju project page explains dnstracer as a tool that determines where a DNS server gets information from and follows the chain of DNS servers back to the servers that know the data. The page revision marker is from November 2002, and the man-page source marker is from January 2002.

The manual page, dated July 8, 2004, documents the classic behavior: send non-recursive queries, follow authority records, detect lame servers, and stop after all name servers are queried. The official 1.9 source tarball was still being served by the Mavetju site with a 2008 last-modified timestamp.

### 採用の歴史

dnstracer's adoption is mostly as a packaged Unix DNS diagnostic, not as an actively branded upstream project. Homebrew and other Unix package managers keep it available because it does one old-school job that overlaps with, but is not identical to, dig +trace.

### 使われ方

Users run dnstracer with a domain name and optional query type or starting server. It is useful for visualizing referrals, cached answers, authoritative answers, missing glue, lame servers, and PTR/SOA/MX tracing paths.

### パッケージ好きにとっての重要性

dnstracer is package-nerd significant as a fossil utility that still earns a slot in package managers: no service, no config, no credentials, just a compact DNS delegation tracer whose behavior is easy to compare across Unix systems.

### タイムライン

- 2002: Mavetju dnstracer project and man-page revision markers appear on the official pages.
- 2004: Manual page dated July 8, 2004.
- 2008: Official dnstracer 1.9 source tarball served with a February 10 last-modified timestamp.
- 2026: Homebrew still carries dnstracer as a packaged DNS diagnostic.

### Related projects

- dig +trace is the common modern comparison point for DNS delegation tracing. traceroute is the conceptual naming relative, but dnstracer traces DNS authority paths rather than network hops.

### ソース

- <https://www.mavetju.org/unix/dnstracer.php>
- <https://www.mavetju.org/unix/dnstracer-man.php>
- <http://www.mavetju.org/download/dnstracer-1.9.tar.gz>
- <https://formulae.brew.sh/formula/dnstracer>


## セキュリティノート

broad file, network, media, or database tool signal.

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dnstracer
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - dnstracer - 1.9-8: normalized package name match | Debian stable package indexes: dnstracer from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | trace DNS queries to the source | http://www.mavetju.org/unix/dnstracer.php
- Nix - dnstracer: normalized package name match | nixpkgs package indexes: pkgs/by-name/dn/dnstracer/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - dnstracer - 1.9-8build1: normalized package name match | Ubuntu 24.04 LTS package indexes: dnstracer from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | trace DNS queries to the source | http://www.mavetju.org/unix/dnstracer.php
- apk - dnstracer - 1.10-r3: normalized package name match | Alpine Linux edge package indexes: dnstracer from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Trace a chain of DNS servers to the source | http://www.mavetju.org/unix/dnstracer.php
- apk - dnstracer-doc - 1.10-r3: normalized package name match | Alpine Linux edge package indexes: dnstracer-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Trace a chain of DNS servers to the source (documentation) | http://www.mavetju.org/unix/dnstracer.php
- dnf - dnstracer - 1.10-12.fc45: normalized package name match | Fedora Rawhide package metadata: dnstracer from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Trace DNS queries to the source | http://www.mavetju.org/unix/dnstracer.php
- zypper - dnstracer - 1.10-1.21: normalized package name match | openSUSE Tumbleweed package metadata: dnstracer from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Trace a DNS record to its start of authority | https://www.mavetju.org/unix/dnstracer.php
- MacPorts - dnstracer: normalized package name match | MacPorts ports tree: net/dnstracer/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/ja/brew-utility-packages/) - Matched Homebrew package provider.
- [dnsviz](https://pkg.so/ja/brew/dnsviz/) - Shares pkgdb curated category or tags: cli, diagnostics, dns, networking.
- [libidn2](https://pkg.so/ja/brew/libidn2/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [libidn](https://pkg.so/ja/brew/libidn/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [dnsmasq](https://pkg.so/ja/brew/dnsmasq/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [ldns](https://pkg.so/ja/brew/ldns/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [bind](https://pkg.so/ja/brew/bind/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [doggo](https://pkg.so/ja/brew/doggo/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [dnscrypt-proxy](https://pkg.so/ja/brew/dnscrypt-proxy/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [dhcping](https://pkg.so/ja/brew/dhcping/) - Local package facts share a topical domain. Shared terms: cli, diagnostics, networking.
- [adns](https://pkg.so/ja/brew/adns/) - Local package facts share a topical domain. Shared terms: cli, dns, networking.

## Combined YAML source

View the package source record on GitHub. [combined/dnstracer.yml](https://github.com/mxcl/pkgdb/blob/main/combined/dnstracer.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
