c-ares
« Back to VersTracker
Description:
Asynchronous DNS library
Type: Formula  |  Latest Version: 1.34.6@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Networking
Tags: dns networking async c-library resolver
Install: brew install c-ares
About:
c-ares is a C library that performs asynchronous DNS requests and name resolves. It enables applications to handle DNS lookups without blocking, improving performance and reliability in networked software. The library is widely used for its stability and compliance with internet standards.
Key Features:
  • Asynchronous, non-blocking DNS resolution
  • Support for A/AAAA, SRV, MX, TXT, and CNAME records
  • Cross-platform (Unix, Windows, embedded)
  • No external dependencies beyond a C standard library
  • Thread-safe API
Use Cases:
  • Embedded systems and IoT devices requiring lightweight DNS
  • High-performance servers needing concurrent DNS lookups
  • Applications that must avoid blocking on network I/O
Alternatives:
  • getaddrinfo – Standard OS API; typically blocking and less flexible for async patterns.
  • unbound – Full DNS resolver with DNSSEC; heavier and more complex than c-ares.
  • libresolv – Legacy resolver library; limited async capabilities and portability.
License: MIT
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Dec 8, 2025 10:54pm 0 VERSION_BUMP 4dd95fe4
Sep 10, 2025 9:47am 0 VERSION_BUMP aecaab54
Dec 14, 2024 4:57pm 0 VERSION_BUMP 860c71e4
Nov 9, 2024 6:26pm 0 VERSION_BUMP d93f5dd1