pkg.soopen package index

brew / 排名 18033

使用 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

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
chinadns可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本1.3.2
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:chinadns-c
版本1.3.2
软件包管理器Homebrew
主页https://github.com/shadowsocks/ChinaDNS
仓库https://github.com/shadowsocks/ChinaDNS
Bottle未记录
服务未声明

来源线索

由仓库数据生成

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

使用的来源

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