node/deps/cares
Node.js GitHub Bot b39fad6052
deps: update c-ares to v1.33.1
PR-URL: https://github.com/nodejs/node/pull/54549
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
2024-08-27 00:54:35 +00:00
..
cmake deps: update c-ares to v1.32.0 2024-07-06 13:23:58 +00:00
config deps: update c-ares to v1.30.0 2024-06-13 07:54:33 +00:00
docs deps: update c-ares to v1.33.1 2024-08-27 00:54:35 +00:00
include deps: update c-ares to v1.33.1 2024-08-27 00:54:35 +00:00
m4 deps: update c-ares to v1.30.0 2024-06-13 07:54:33 +00:00
src deps: update c-ares to v1.33.1 2024-08-27 00:54:35 +00:00
.gitignore deps: upgrade c-ares to piscisaureus/cares@805d153 2013-07-06 22:20:29 +02:00
AUTHORS deps: reflect c-ares source tree 2021-08-06 11:17:11 +00:00
BUILD.gn build: add GN build files 2023-11-11 09:51:05 +00:00
CMakeLists.txt deps: update c-ares to v1.33.1 2024-08-27 00:54:35 +00:00
CONTRIBUTING.md deps: update c-ares to v1.30.0 2024-06-13 07:54:33 +00:00
DEVELOPER-NOTES.md deps: update c-ares to v1.30.0 2024-06-13 07:54:33 +00:00
INSTALL.md deps: update c-ares to v1.32.0 2024-07-06 13:23:58 +00:00
LICENSE.md deps: update c-ares to v1.33.0 2024-08-11 16:07:05 +00:00
Makefile.Watcom deps: update c-ares to v1.33.0 2024-08-11 16:07:05 +00:00
Makefile.am deps: update c-ares to v1.33.0 2024-08-11 16:07:05 +00:00
Makefile.dj deps: update c-ares to v1.33.0 2024-08-11 16:07:05 +00:00
Makefile.in deps: update c-ares to v1.33.1 2024-08-27 00:54:35 +00:00
Makefile.m32 deps: update c-ares to v1.32.0 2024-07-06 13:23:58 +00:00
Makefile.msvc deps: update c-ares to v1.33.0 2024-08-11 16:07:05 +00:00
Makefile.netware deps: update c-ares to v1.32.0 2024-07-06 13:23:58 +00:00
README.md deps: update c-ares to v1.33.0 2024-08-11 16:07:05 +00:00
README.msvc deps: update c-ares to 1.20.0 2023-10-20 23:39:25 +00:00
RELEASE-NOTES.md deps: update c-ares to v1.33.1 2024-08-27 00:54:35 +00:00
SECURITY.md deps: update c-ares to 1.29.0 2024-06-02 05:30:14 +00:00
aclocal.m4 deps: update c-ares to v1.33.0 2024-08-11 16:07:05 +00:00
aminclude_static.am deps: update c-ares to v1.33.1 2024-08-27 00:54:35 +00:00
buildconf deps: update c-ares to 1.20.0 2023-10-20 23:39:25 +00:00
buildconf.bat deps: update c-ares to 1.20.0 2023-10-20 23:39:25 +00:00
c-ares-config.cmake.in deps: update c-ares to 1.20.0 2023-10-20 23:39:25 +00:00
cares.gyp deps: update c-ares to v1.33.0 2024-08-11 16:07:05 +00:00
configure deps: update c-ares to v1.33.1 2024-08-27 00:54:35 +00:00
configure.ac deps: update c-ares to v1.33.1 2024-08-27 00:54:35 +00:00
libcares.pc.cmake deps: update c-ares to v1.33.1 2024-08-27 00:54:35 +00:00
libcares.pc.in deps: update c-ares to 1.27.0 2024-02-25 13:46:21 +00:00
unofficial.gni build: fix build warning of c-ares under GN build 2024-07-09 08:42:40 +00:00

README.md

c-ares logo

Build Status Windows Build Status Coverage Status CII Best Practices Fuzzing Status Bugs Coverity Scan Status

Overview

c-ares is a modern DNS (stub) resolver library, written in C. It provides interfaces for asynchronous queries while trying to abstract the intricacies of the underlying DNS protocol. It was originally intended for applications which need to perform DNS queries without blocking, or need to perform multiple DNS queries in parallel.

One of the goals of c-ares is to be a better DNS resolver than is provided by your system, regardless of which system you use. We recommend using the c-ares library in all network applications even if the initial goal of asynchronous resolution is not necessary to your application.

c-ares will build with any C89 compiler and is MIT licensed, which makes it suitable for both free and commercial software. c-ares runs on Linux, FreeBSD, OpenBSD, MacOS, Solaris, AIX, Windows, Android, iOS and many more operating systems.

c-ares has a strong focus on security, implementing safe parsers and data builders used throughout the code, thus avoiding many of the common pitfalls of other C libraries. Through automated testing with our extensive testing framework, c-ares is constantly validated with a range of static and dynamic analyzers, as well as being constantly fuzzed by OSS Fuzz.

While c-ares has been around for over 20 years, it has been actively maintained both in regards to the latest DNS RFCs as well as updated to follow the latest best practices in regards to C coding standards.

Code

The full source code and revision history is available in our GitHub repository. Our signed releases are available in the release archives.

See the INSTALL.md file for build information.

Communication

Issues and Feature Requests should be reported to our GitHub Issues page.

Discussions around c-ares and its use, are held on GitHub Discussions or the Mailing List. Mailing List archive here. Please, do not mail volunteers privately about c-ares.

Security vulnerabilities are treated according to our Security Procedure, please email c-ares-security at haxx.se if you suspect one.

Release keys

Primary GPG keys for c-ares Releasers (some Releasers sign with subkeys):

To import the full set of trusted release keys (including subkeys possibly used to sign releases):

gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2 # Daniel Stenberg
gpg --keyserver hkps://keys.openpgp.org --recv-keys DA7D64E4C82C6294CB73A20E22E3D13B5411B7CA     # Brad House

Verifying signatures

For each release c-ares-X.Y.Z.tar.gz there is a corresponding c-ares-X.Y.Z.tar.gz.asc file which contains the detached signature for the release.

After fetching all of the possible valid signing keys and loading into your keychain as per the prior section, you can simply run the command below on the downloaded package and detached signature:

% gpg -v --verify c-ares-1.29.0.tar.gz.asc c-ares-1.29.0.tar.gz
gpg: enabled compatibility flags:
gpg: Signature made Fri May 24 02:50:38 2024 EDT
gpg:                using RSA key 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2
gpg: using pgp trust model
gpg: Good signature from "Daniel Stenberg <daniel@haxx.se>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 27ED EAF2 2F3A BCEB 50DB  9A12 5CC9 08FD B71E 12C2
gpg: binary signature, digest algorithm SHA512, key algorithm rsa2048

Features

Supported RFCs and Proposals

  • RFC1035. Initial/Base DNS RFC
  • RFC2671, RFC6891. EDNS0 option (meta-RR)
  • RFC3596. IPv6 Address. AAAA Record.
  • RFC2782. Server Selection. SRV Record.
  • RFC3403. Naming Authority Pointer. NAPTR Record.
  • RFC6698. DNS-Based Authentication of Named Entities (DANE) Transport Layer Security (TLS) Protocol. TLSA Record.
  • RFC9460. General Purpose Service Binding, Service Binding type for use with HTTPS. SVCB and HTTPS Records.
  • RFC7553. Uniform Resource Identifier. URI Record.
  • RFC6844. Certification Authority Authorization. CAA Record.
  • RFC2535, RFC2931. SIG0 Record. Only basic parser, not full implementation.
  • RFC7873, RFC9018. DNS Cookie off-path dns poisoning and amplification mitigation.
  • draft-vixie-dnsext-dns0x20-00. DNS 0x20 query name case randomization to prevent cache poisioning attacks.
  • RFC7686. Reject queries for .onion domain names with NXDOMAIN.
  • RFC2606, RFC6761. Special case treatment for localhost/.localhost.
  • RFC2308, RFC9520. Negative Caching of DNS Resolution Failures.
  • RFC6724. IPv6 address sorting as used by ares_getaddrinfo().
  • RFC7413. TCP FastOpen (TFO) for 0-RTT TCP Connection Resumption.