# zns を Homebrew, MacPorts でインストール

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

## インストール

```sh
sudo av install brew:zns
```

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

### macOS

- Homebrew (100%):

```sh
brew install zns
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install zns
```

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

## パッケージ情報

- **パッケージキー:** brew:zns
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/zns>
- **バージョン:** 0.6.0
- **ソース概要:** CLI tool for querying DNS records with readable, colored output
- **ホームページ:** <https://github.com/znscli/zns>
- **リポジトリ:** <https://github.com/znscli/zns>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/znscli/zns/archive/refs/tags/v0.6.0.tar.gz>
- **最終更新:** 2026-07-28T03:48:21Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.6.0
- マネージャ更新日: 2026-07-28
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/znscli/zns
- 検出された最新: v0.6.0 (最新)
## プロジェクトの歴史と使われ方

zns is a young Go DNS lookup CLI focused on making DNS records easier to scan than raw dig-style output. Its niche is not a new resolver protocol, but presentation: colored tabular output for humans plus JSON for scripts.

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

The public project presents itself as a small command-line utility for querying DNS records and printing type, name, TTL, and value in a readable format. Its release history shows a compact early series of releases, with later changes mostly around packaging, dependency updates, and record sorting rather than a broad platform expansion.

### 採用の歴史

Public adoption evidence is modest. A Hacker News submission in 2025 drew light discussion from CLI users comparing it with other Go DNS tools, and the project added packaging instructions beyond Homebrew as it matured.

### 使われ方

zns is useful when checking how a domain is configured across common record types, especially when a person wants quick colored output at the terminal and a JSON form for follow-up automation. It can query a chosen DNS server, run concurrent lookups, and write results to a file.

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

For package nerds, zns is a good example of the modern small Go network utility: one binary, focused UX, JSON output, and overlap with older Unix staples rather than a replacement for DNS infrastructure itself.

### タイムライン

- 2025: Public GitHub releases establish zns as a packaged DNS-record inspection CLI.
- 2025: Community discussion compares zns with doggo, q, and dug, placing it in the newer wave of friendlier DNS terminal tools.

### Related projects

- dig: the classic DNS query tool that zns tries to make friendlier for common record inspection.
- doggo, q, and dug: newer DNS CLIs with overlapping goals around readable output, JSON, and resolver testing.
- miekg/dns: the Go DNS library ecosystem that underpins many small DNS tools.

### ソース

- <https://github.com/znscli/zns>
- <https://github.com/znscli/zns/releases>
- <https://news.ycombinator.com/item?id=43140173>


## セキュリティノート

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:** zns
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- MacPorts - zns: normalized package name match | MacPorts ports tree: net/zns/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [c-ares](https://pkg.so/ja/brew/c-ares/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [unbound](https://pkg.so/ja/brew/unbound/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [telnet](https://pkg.so/ja/brew/telnet/) - Shares pkgdb curated category or tags: cli, networking, terminal.
- [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, go, networking.
- [whois](https://pkg.so/ja/brew/whois/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [mihomo](https://pkg.so/ja/brew/mihomo/) - Shares pkgdb curated category or tags: cli, go, networking.
- [aliddns](https://pkg.so/ja/brew/aliddns/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, dns, go, networking.
- [ggh](https://pkg.so/ja/brew/ggh/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, go, networking, terminal.
- [glider](https://pkg.so/ja/brew/glider/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, dns, go, networking.

## Combined YAML source

View the package source record on GitHub. [combined/zns.yml](https://github.com/mxcl/pkgdb/blob/main/combined/zns.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
