macOS
brew install c-areslocal Homebrew formula metadata
sudo port install c-aresMacPorts ports tree · net/c-ares/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für c-ares in AI-Agent-Workflows.
Installation
brew install c-areslocal Homebrew formula metadata
sudo port install c-aresMacPorts ports tree · net/c-ares/Portfile · Quelle: api.github.com
sudo apk add c-aresAlpine Linux edge package indexes · c-ares · Quelle: dl-cdn.alpinelinux.org
sudo dnf install c-aresFedora Rawhide package metadata · c-ares · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#c-aresnixpkgs package indexes · pkgs/by-name/c-/c-ares/package.nix · Quelle: api.github.com
sudo pacman -S c-aresArch Linux sync databases · c-ares · Quelle: geo.mirror.pkgbuild.com
sudo apt install libc-ares-devDebian stable package indexes · libc-ares-dev · Quelle: deb.debian.org
sudo zypper install c-ares-developenSUSE Tumbleweed package metadata · c-ares-devel · Quelle: download.opensuse.org
Überblick
Asynchronous DNS library
Verlauf
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.
Sicherheitslage
broad file, network, media, or database tool signal.
blue Risiko · mittel Konfidenz · tool
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
local files
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.
Config paths the tool may read or write during local use.
/etc/resolv.conf/etc/hostsExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
adig | cli | globales Executable | |
ahost | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/c-ares/c-ares
Installationsmetadaten
| Paketschlüssel | brew:c-ares |
|---|---|
| Version | 1.34.8 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/c-ares |
| Homepage | https://c-ares.org/ |
| Repository | https://github.com/c-ares/c-ares |
| Upstream-Dokumentation | https://c-ares.org/docs.html |
| Lizenz | MIT |
| Quellarchiv | https://github.com/c-ares/c-ares/releases/download/v1.34.8/c-ares-1.34.8.tar.gz |
| Zuletzt aktualisiert | 2026-07-08T02:31:43Z |
| Pulse | updated |
| Build-Abhängigkeiten | cmake |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | c-ares |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
libc-ares-dev 1.34.5-1+deb13u1
asynchronous name resolver - development files
sudo apt install libc-ares-devlibc-ares2 1.34.5-1+deb13u1
transitional package
sudo apt install libc-ares2libcares2 1.34.5-1+deb13u1
asynchronous name resolver
sudo apt install libcares2c-ares
nix profile install nixpkgs#c-areslibc-ares-dev 1.27.0-1.0ubuntu1
asynchronous name resolver - development files
sudo apt install libc-ares-devlibcares2 1.27.0-1.0ubuntu1
asynchronous name resolver
sudo apt install libcares2c-ares 1.34.6-r0
Asynchronous DNS/names resolver library
sudo apk add c-aresc-ares-dev 1.34.6-r0
Asynchronous DNS/names resolver library (development files)
sudo apk add c-ares-devc-ares-doc 1.34.6-r0
Asynchronous DNS/names resolver library (documentation)
sudo apk add c-ares-docc-ares-utils 1.34.6-r0
Asynchronous DNS/names resolver library
sudo apk add c-ares-utilsc-ares 1.34.6-3.fc44
A library that performs asynchronous DNS operations
sudo dnf install c-aresc-ares-devel 1.34.6-3.fc44
Development files for c-ares
sudo dnf install c-ares-develc-ares 1.34.6-1
A C library for asynchronous DNS requests
sudo pacman -S c-aresc-ares-devel 1.34.6-1.3
Development files for c-ares
sudo zypper install c-ares-develc-ares-utils 1.34.6-1.3
Tools for asynchronous name resolves
sudo zypper install c-ares-utilslibcares2 1.34.6-1.3
Library for asynchronous name resolves
sudo zypper install libcares2Quellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.