# chinadns-c を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:chinadns-c
```

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

### macOS

- Homebrew (100%):

```sh
brew install chinadns-c
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:chinadns-c
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.3.2
- **ソース概要:** Port of ChinaDNS to C: fix irregularities with DNS in China
- **ホームページ:** <https://github.com/shadowsocks/ChinaDNS>
- **リポジトリ:** <https://github.com/shadowsocks/ChinaDNS>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- chinadns (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.3.2
## プロジェクトの歴史と使われ方

ChinaDNS-C is the packaged C implementation of ChinaDNS, a small DNS forwarder built for networks affected by DNS poisoning and CDN split-horizon behavior.

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

The upstream repository started in 2014 and its README describes a DNS design that queries local resolvers for Chinese domains and foreign resolvers for foreign domains, using a relatively stable Chinese IP range file instead of fast-changing domain lists. The project is closely tied to the Shadowsocks-era anti-censorship tooling ecosystem and explicitly points users toward VPN software such as ShadowVPN for IP blocking.

### 採用の歴史

Upstream documented Linux/Unix builds, OpenWrt packaging, Tomato-router cross-compilation, and a Windows Python executable, which made the tool relevant beyond a single desktop formula. Homebrew packages the C port as chinadns-c and tracks the 1.3.2 release tarball.

### 使われ方

Typical use is running chinadns as a local UDP DNS server, often with dnsmasq on routers, with a chnroute.txt file generated from APNIC delegated address data and options such as DNS compression pointer mutation.

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

For package people, chinadns-c is a compact example of network-circumvention software moving from router firmware workflows into general-purpose package managers, with Homebrew preserving a once-active C utility from the Shadowsocks orbit.

### タイムライン

- 2014: First commits in the official ChinaDNS repository.
- 2014: 1.0.0 tag appears shortly after the initial import.
- 2015: README copyright and later 1.3.x tags show the mature C release line packaged by Homebrew.
- 2026: Homebrew still exposes chinadns-c as a bottled formula at stable version 1.3.2.

### Related projects

- The README names ShadowVPN as companion VPN software and dnsmasq as the recommended local DNS front end on OpenWrt. chnroute.txt generation is based on APNIC delegated address data.

### ソース

- <https://github.com/shadowsocks/ChinaDNS#readme>
- <https://formulae.brew.sh/api/formula/chinadns-c.json>
- <https://github.com/shadowsocks/ChinaDNS>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## Combined YAML source

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


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
