Automic VaultAutomic Vault

brew

c-ares を Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install c-ares

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install c-ares

MacPorts ports tree · net/c-ares/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add c-ares

Alpine Linux edge package indexes · c-ares · ソース: dl-cdn.alpinelinux.org

Fedora dnf確認済み · 92%
sudo dnf install c-ares

Fedora Rawhide package metadata · c-ares · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#c-ares

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

Arch Linux pacman確認済み · 92%
sudo pacman -S c-ares

Arch Linux sync databases · c-ares · ソース: geo.mirror.pkgbuild.com

Debian apt確認済み · 92%
sudo apt install libc-ares-dev

Debian stable package indexes · libc-ares-dev · ソース: deb.debian.org

openSUSE zypper確認済み · 92%
sudo zypper install c-ares-devel

openSUSE Tumbleweed package metadata · c-ares-devel · ソース: download.opensuse.org

概要

パッケージ概要

Asynchronous DNS library

コマンドとエイリアス

  • adig
  • ahost

履歴

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

c-ares is an MIT-licensed C library for asynchronous DNS resolution. It grew out of Daniel Stenberg's search for a non-blocking resolver suitable for libcurl and became a long-lived dependency for network software that cannot afford blocking name lookups.

プロジェクトの歴史

The official `why` page explains that Daniel Stenberg looked for an asynchronous DNS resolver for libcurl, found the older ares library, began expanding it, and forked when the original author would not accept the needed changes. That fork became c-ares.

The project still acknowledges ares as the public API influence while noting that the code no longer closely resembles the original. Its README now describes c-ares as a modern DNS stub resolver written in C with asynchronous interfaces, portability across Unix, Windows, mobile, and other systems, and active maintenance after more than 20 years.

Recent project materials emphasize security practice as much as asynchronous lookup: safe parsers and builders, static and dynamic analysis, OSS-Fuzz coverage, signed releases, and SLSA provenance for release artifacts.

採用の歴史

c-ares adoption started from libcurl's need for DNS lookups that could integrate with event-driven network code. From there it spread into software that needs many DNS queries in parallel or wants resolver behavior independent from a platform's blocking libc calls.

Its package-manager footprint is broad: Homebrew, Debian and Ubuntu development packages, Fedora, Alpine, Arch, MacPorts, Nix, and openSUSE all package it. That breadth reflects its status as a library dependency more than an end-user command, although tools such as `adig` and `ahost` are installed with some packages.

使われ方

Developers link against c-ares to issue asynchronous DNS queries through non-blocking sockets and integrate DNS work into event loops. The official docs include initialization APIs such as `ares_init_options` and resolver configuration behavior.

On Unix-like systems c-ares reads resolver environment from standard system files such as `/etc/resolv.conf` and `/etc/hosts`, matching the package's curated config-file locations.

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

c-ares is one of those packages users may never invoke directly but build systems constantly care about. It is a small C library whose ABI, headers, pkg-config metadata, and security updates affect curl-like networking stacks across distributions.

For package nerds, it is also a clean example of a library fork becoming infrastructure: born from a specific libcurl need, preserved for API/ABI stability, and now maintained with modern supply-chain signals such as signed releases and SLSA provenance.

タイムライン

  • Early 2000s: Daniel Stenberg searches for an asynchronous DNS resolver for libcurl and forks from ares to create c-ares.
  • 2004: Early tags such as `c-ares-1_2_0` appear in the upstream repository history.
  • 2010s: c-ares remains a common packaged dependency for asynchronous DNS in C networking software.
  • 2024: The project site describes more than 20 years of active maintenance and modern DNS RFC support.
  • 2025: The official site publishes c-ares 1.34.6 as a signed release with release provenance.

Related projects

  • libcurl is the motivating user described by the official history page.
  • ares is the older resolver library from which c-ares forked.
  • ADNS, UDNS, FireDNS, Mozilla netlib, djbdns, and other resolver libraries are discussed by the c-ares project as alternatives or contemporaries.

セキュリティ状態

リスクレベル: blue

broad file, network, media, or database tool signal.

リスク分類器

リスク blue · 信頼度 中 · tool

理由

  • broad file, network, media, or database tool signal

信号

  • text:sync

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

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

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
/etc/resolv.conf/etc/hosts

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

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

https://github.com/c-ares/c-ares

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:c-ares
バージョン1.34.8
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/c-ares
ホームページhttps://c-ares.org/
リポジトリhttps://github.com/c-ares/c-ares
上流ドキュメントhttps://c-ares.org/docs.html
ライセンスMIT
ソースアーカイブhttps://github.com/c-ares/c-ares/releases/download/v1.34.8/c-ares-1.34.8.tar.gz
最終更新2026-07-08T02:31:43Z
Pulseupdated
ビルド依存関係cmake
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

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

Debian apt95%

libc-ares-dev 1.34.5-1+deb13u1

asynchronous name resolver - development files

https://c-ares.org/

sudo apt install libc-ares-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: c-ares
  • 1 依存関係
  • normalized package name match
  • 一致条件: C Ares
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libc-ares-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libc-ares2 1.34.5-1+deb13u1

transitional package

https://c-ares.org/

sudo apt install libc-ares2
  • Section: oldlibs
  • Architecture: all
  • Source Package: c-ares
  • 1 依存関係
  • normalized package name match
  • 一致条件: C Ares
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libc-ares2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcares2 1.34.5-1+deb13u1

asynchronous name resolver

https://c-ares.org/

sudo apt install libcares2
  • Section: libs
  • Architecture: amd64
  • Source Package: c-ares
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: C Ares
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcares2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

c-ares

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

libc-ares-dev 1.27.0-1.0ubuntu1

asynchronous name resolver - development files

https://c-ares.org/

sudo apt install libc-ares-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: c-ares
  • 1 依存関係
  • normalized package name match
  • 一致条件: C Ares
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libc-ares-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libcares2 1.27.0-1.0ubuntu1

asynchronous name resolver

https://c-ares.org/

sudo apt install libcares2
  • Section: libs
  • Architecture: amd64
  • Source Package: c-ares
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: C Ares
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcares2 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

c-ares 1.34.6-r0

Asynchronous DNS/names resolver library

https://c-ares.org/

sudo apk add c-ares
  • License: MIT
  • Architecture: x86_64
  • Source Package: c-ares
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: C Ares
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: c-ares from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

c-ares-dev 1.34.6-r0

Asynchronous DNS/names resolver library (development files)

https://c-ares.org/

sudo apk add c-ares-dev
  • License: MIT
  • Architecture: x86_64
  • Source Package: c-ares
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: C Ares
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: c-ares-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

c-ares-doc 1.34.6-r0

Asynchronous DNS/names resolver library (documentation)

https://c-ares.org/

sudo apk add c-ares-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: c-ares
  • normalized package name match
  • 一致条件: C Ares
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: c-ares-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

c-ares-utils 1.34.6-r0

Asynchronous DNS/names resolver library

https://c-ares.org/

sudo apk add c-ares-utils
  • License: MIT
  • Architecture: x86_64
  • Source Package: c-ares
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: C Ares
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: c-ares-utils from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

c-ares 1.34.6-3.fc44

A library that performs asynchronous DNS operations

http://c-ares.org/

sudo dnf install c-ares
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: c-ares
  • 2 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: C Ares
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: c-ares from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

c-ares-devel 1.34.6-3.fc44

Development files for c-ares

http://c-ares.org/

sudo dnf install c-ares-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: c-ares
  • 4 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: C Ares
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: c-ares-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

c-ares 1.34.6-1

A C library for asynchronous DNS requests

https://c-ares.org/

sudo pacman -S c-ares
  • License: MIT
  • Architecture: x86_64
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: C Ares
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: c-ares from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

c-ares-devel 1.34.6-1.3

Development files for c-ares

https://c-ares.org/

sudo zypper install c-ares-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: c-ares
  • 3 依存関係
  • 4 提供
  • normalized package name match
  • 一致条件: C Ares
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: c-ares-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

c-ares-utils 1.34.6-1.3

Tools for asynchronous name resolves

https://c-ares.org/

sudo zypper install c-ares-utils
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: c-ares
  • 2 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: C Ares
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: c-ares-utils from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libcares2 1.34.6-1.3

Library for asynchronous name resolves

https://c-ares.org/

sudo zypper install libcares2
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: c-ares
  • 4 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: C Ares
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libcares2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

ソース経路

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

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