Automic VaultAutomic Vault

brew

dns2tcp を Homebrew, apt, MacPorts, Nix でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install dns2tcp

local Homebrew formula metadata

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

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

Linux

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

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

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

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

概要

パッケージ概要

TCP over DNS tunnel

コマンドとエイリアス

  • dns2tcpc
  • dns2tcpd

履歴

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

dns2tcp is a client/server tool for relaying TCP connections over DNS. It belongs to the older family of DNS-tunneling utilities used for constrained networks, demonstrations, and security testing rather than general-purpose VPN service.

プロジェクトの歴史

The upstream ChangeLog marks version 0.3 as the public release and records later fixes for 64-bit architectures, DNS decoding, privilege dropping, client authentication, and Windows client support. The README is explicit that DNS encapsulation is not encrypted and should be treated as an insecure transport.

採用の歴史

dns2tcp stayed visible because it solves one very specific network problem with small C tools: a client, a server, and simple resource mappings. Distribution packaging kept it available for administrators and security testers who need a TCP-over-DNS tunnel without a broader VPN stack.

使われ方

The README shows using dns2tcpc to list available remote resources, bind a local port to a remote service, or run from ~/.dns2tcprc. Server use centers on ~/.dns2tcpdrc, where the operator defines the DNS domain, key, and named resources such as ssh or smtp targets.

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

Package nerds care about dns2tcp because it is a classic small-network-tool package: narrow, risky if misunderstood, but valuable in labs and incident-response toolboxes because it demonstrates TCP-over-DNS behavior with minimal moving parts.

タイムライン

  • 0.3: Public release.
  • 0.4: 64-bit architectures start working.
  • 0.5: Client authentication, Windows client support, and proxy-style use are added.
  • 0.5.2: OpenSSL includes are removed after earlier library cleanup.

Related projects

  • iodine is a related DNS-tunneling project focused on IP-over-DNS rather than TCP-over-DNS.
  • ssh ProxyCommand workflows are a common adjacent use case for dns2tcpc.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 13 個のプラットフォームターゲットで利用できます。

推奨レビュー

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

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
~/.dns2tcprc~/.dns2tcpdrc

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.dns2tcprc~/.dns2tcpdrc

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

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

https://packages.debian.org/sid/dns2tcp

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:dns2tcp
バージョン0.5.2
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/dns2tcp
ホームページhttps://packages.debian.org/sid/dns2tcp
リポジトリhttps://github.com/alex-sector/dns2tcp
上流ドキュメントhttps://github.com/alex-sector/dns2tcp
ライセンスGPL-2.0-or-later
ソースアーカイブhttps://deb.debian.org/debian/pool/main/d/dns2tcp/dns2tcp_0.5.2.orig.tar.gz
Bottle利用可能 (対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedns2tcp
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

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

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

Debian apt95%

dns2tcp 0.5.2-3

TCP-over-DNS tunnel server and client

http://www.hsc.fr/ressources/outils/dns2tcp/

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

dns2tcp

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

dns2tcp 0.5.2-3

TCP-over-DNS tunnel server and client

http://www.hsc.fr/ressources/outils/dns2tcp/

sudo apt install dns2tcp
  • Section: universe/net
  • Architecture: amd64
  • 3 依存関係
  • normalized package name match
  • 一致条件: Dns2tcp
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: dns2tcp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts95%

dns2tcp

sudo port install dns2tcp
  • normalized package name match
  • 一致条件: Dns2tcp
MacPorts ports tree · api.github.com · MacPorts ports tree: net/dns2tcp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

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

このページは 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