c-ares-1.18.1

Introduction to c-ares

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

[Note]

Note

Development versions of BLFS may not build or run some packages properly if dependencies have been updated since the most recent stable versions of the book.

Package Information

c-ares Dependencies

Required

CMake-3.25.0

Installation of c-ares

Install c-ares by running the following commands:

mkdir build &&
cd    build &&

cmake  -DCMAKE_INSTALL_PREFIX=/usr .. &&
make

This package does not include a test suite.

Now, as the root user:

make install

Contents

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

Short Descriptions

acountry

prints the country where an IPv4 address or host is located

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