🍺 BREW Explorer

← all formulae

chinadns-c

brew install chinadns-c v1.3.2 GPL-3.0-or-later

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

1
30-day installs · #15376
1
90-day · #24247
9
365-day · #18515
3.6k
★ GitHub stars · updated 6y ago

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Port of ChinaDNS to C: fix irregularities with DNS in China",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:36:21+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "chinadns-c",
  "github_default_branch": "master",
  "github_last_commit_at": "2020-05-03T10:00:17Z",
  "github_readme_excerpt": "ChinaDNS\n========\n\n[![Build Status]][Travis CI]\n[![Coverage Status]][Coverage]\n\nTraditional way to bypass DNS poisoning is to send all queries to\na foreign DNS server via VPN. However some Chinese websites will get\nbad results if they have CDNs outside the country.\n\nThe second way is to maintain a list of domains of which you want to\nresolve from local DNS or foreign DNS. This list changes too often,\ntaking too much effort to maintain.\n\nChinaDNS automatically queries local DNS servers to resolve Chinese domains\nand queries foreign DNS servers to resolve foreign domains. It is smart\nenough to work only with a Chinese IP range file, which doesn\u0027t change often.\n\nIn order to bypass IP blocking, you SHOULD use VPN software like [ShadowVPN].\n\nInstall\n-------\n\n* Linux / Unix\n\n    [Download a release].\n\n        ./configure \u0026\u0026 make\n        src/chinadns -m -c chnroute.txt\n\n* OpenWRT\n\n    * [Download precompiled] for OpenWRT trunk and CPU: ar71xx, brcm63xx,\n      brcm47xx, ramips_24kec. Open an issue if you think your CPU is a popular\n      one but not listed here.\n    * If you use other CPU or other OpenWRT versions, build yourself:\n      cd into [SDK] root, then\n\n            pushd package\n            git clone https://github.com/clowwindy/ChinaDNS.git\n            popd\n            make menuconfig # select Network/ChinaDNS\n            make -j\n            make V=99 package/ChinaDNS/openwrt/compile\n\n* Tomoto\n\n    * Download [Tomato toolchain], build by yourself.\n    * Uncompress the downloaded file to `~/`.\n    * Copy the `brcm` directory under\n      `~/WRT54GL-US_v4.30.11_11/tools/` to `/opt`, then\n\n            export PATH=/opt/brcm/hndtools-mipsel-uclibc/bin/:/opt/brcm/hndtools-mipsel-linux/bin/:$PATH\n            git clone https://github.com/clowwindy/ChinaDNS.git\n            cd ChinaDNS\n            ./autogen.sh \u0026\u0026 ./configure --host=mipsel-linux --enable-static \u0026\u0026 make\n\n* Windows\n\n    [Download] Python exe version.\n\nUsage\n-----\n\n* Linux / Unix\n    Recommand using with option ",
  "github_repo": "shadowsocks/ChinaDNS",
  "github_stars": 3607,
  "github_topics": [],
  "homepage": "https://github.com/shadowsocks/ChinaDNS",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 1,
  "installs_365d": 9,
  "installs_90d": 1,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "GPL-3.0-or-later",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "chinadns-c",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 15376,
  "rank_365d": 18515,
  "rank_90d": 24247,
  "raw_hash": "caaa726d39737c59",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/c/chinadns-c.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "1.3.2",
  "versioned_formulae": [],
  "why_use_this": null
}