# c-ares

> Asynchronous DNS stub resolver library in C

Source: https://talira.ai/catalog/c-ares-gpv29b5p
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [networking / dns / clients](https://talira.ai/categories/networking/dns/clients), [languages / c](https://talira.ai/categories/languages/c)
- Licence: MIT[^1][^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [c-ares](https://talira.ai/orgs/c-ares.md)

c-ares is a DNS stub resolver library written in C, with interfaces for asynchronous queries, for applications that need to look up names without blocking or to run many queries in parallel. It aims to be a better resolver than the system's own, builds with any C89 compiler and runs on Linux, the BSDs, macOS, Solaris, AIX, Windows, Android and iOS. It's been around for over 20 years, is fuzzed by OSS-Fuzz, uses safe parsers and data builders throughout, and publishes SLSA provenance for its releases.

## Links

- Website: https://c-ares.org/
- GitHub: https://github.com/c-ares/c-ares
- Docs: https://c-ares.org/docs.html

## Problems it solves

- resolve hostnames in my C program without blocking the event loop
- run hundreds of DNS lookups in parallel from a network service
- a portable DNS resolver library that behaves the same on every OS
- replace getaddrinfo with something asynchronous and secure

## Features

- asynchronous and parallel DNS queries
- builds with any C89 compiler
- Linux, BSD, macOS, Windows, Android and iOS support
- safe parsers and data builders throughout
- continuous fuzzing by OSS-Fuzz
- signed releases with SLSA provenance

## Trust

Overall: 0.60 out of 1.
Signals: maintenance 0.86, adoption 0.67, momentum 0.33, community 0.92, backing 0.30, extensibility 0.00.

- last commit 29 days ago
- 39 commits in the last 90 days
- latest release v1.34.9 41 days ago
- 2.2k GitHub stars
- 200 contributors
- has a company behind it

## Sources

[^1]: https://c-ares.org/ (checked 29 Nov 2026)
[^2]: https://github.com/c-ares/c-ares/blob/main/LICENSE.md (checked 29 Nov 2026)
