c-ares-1.34.5

Introduction to c-ares

c-ares is a C library for asynchronous DNS requests.

This package is known to build and work properly using an LFS 12.4 platform.

Package Information

c-ares Dependencies

Required

CMake-4.1.3

Installation of c-ares

Prepare c-ares by running the following commands:

cmake -B build -D CMAKE_INSTALL_PREFIX=/usr

Now Build c-ares, issue:

cmake --build build

This package does not include a test suite.

Now Install c-ares as the root user:

cmake --install build

Contents

Installed Programs: adig and ahost
Installed Libraries: libcares.so
Installed Directories: None

Short Descriptions

adig

queries information from DNS servers

ahost

prints the A or AAAA record associated with a hostname or IP address

libcares.so

is a C library for asynchronous DNS requests