c-ares/c-ares
A C library for asynchronous DNS requests observed · 2026-08-28
Health v2 · maintenance only
97/100
- Activity 99
- Release rhythm 92
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 29.5
- age_days: 6010
- days_rel: 57
- days_push: 10
- n_releases_24m: 9
Adoption not part of the score
2182 stars · 680 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
c-ares is a modern asynchronous DNS (stub) resolver library written in C. It provides non-blocking DNS query interfaces that abstract the intricacies of the DNS protocol, suitable for applications needing parallel or non-blocking resolution.
Use cases
- resolve hostnames asynchronously without blocking my event loop
- perform many DNS queries in parallel from a C application
- replace the unreliable system DNS resolver with a better one
- embed a DNS resolver in a cross-platform network application
- build a custom DNS client with support for modern RFCs
- resolve names on Windows, Linux, macOS, Android, and iOS with one library
When to choose
- you need non-blocking or parallel DNS resolution in C or C++
- you want a portable resolver that works consistently across operating systems
- you need a security-hardened, actively maintained, MIT-licensed DNS library
- you need modern DNS features like query caching, DNS cookies, or 0x20 encoding
When to avoid
- you only need simple synchronous lookups and are happy with your OS resolver
- you are working in a high-level language that already ships a capable async DNS client
- you need a full recursive/authoritative DNS server rather than a stub resolver
Facets
library · maturity stable
networking http-client developer-tools networking developer-tools apis windows cross-platform c cpp dns resolver async c-library stub-resolver linux macos
5 sources
- readme: https://github.com/c-ares/c-ares · fetched 2026-08-28 · bbfb224a93b6
- homepage: https://c-ares.org/ · fetched 2026-08-29 · e829f5b5bcd6
- site_page: https://c-ares.org/docs.html · fetched 2026-08-29 · de03c984f3fe
- site_page: https://c-ares.org/features · fetched 2026-08-29 · ae228dd12ea5
- site_page: https://c-ares.org/changelog.html · fetched 2026-08-29 · 0a19490125dd
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| c-ares/c-ares | main | 97 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem