Automic VaultAutomic Vault

brew

使用 Homebrew 安装 chinadns-c

查看 chinadns-c 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install chinadns-c

local Homebrew formula metadata

概览

软件包摘要

Port of ChinaDNS to C: fix irregularities with DNS in China

命令和别名

  • chinadns

历史

项目历史与用法

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.

安全态势

风险级别:绿色

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 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
chinadnscli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.3.2
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/shadowsocks/ChinaDNS

安装元数据

软件包元数据

软件包键brew:chinadns-c
版本1.3.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/chinadns-c
主页https://github.com/shadowsocks/ChinaDNS
仓库https://github.com/shadowsocks/ChinaDNS
上游文档https://github.com/shadowsocks/ChinaDNS#readme
许可证GPL-3.0-or-later
源码归档https://github.com/shadowsocks/ChinaDNS/releases/download/1.3.2/chinadns-1.3.2.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 Namechinadns-c
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment