BSD Ports

net/libasr 20250910 NetBSD

Asynchronous DNS resolver library

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
isc AND modified-bsd AND 2-clause-bsd
Categories
net
Package size
37.0 KiB, 165.5 KiB installed

Description

Libasr is a FREE asynchronous DNS resolver. The asr_* functions provide a simple interface for asynchronous address resolution and nameserver querying. They should be used in place of the classical resolver functions of libc when blocking is not desirable.

event(3) API integration is provided by the event_asr_* functions, which allow to schedule the asynchronous resolver query to run within a libevent event loop.

This version is based on the bundled copy found in the OpenSMTPD project.

Install

Binary package:

pkgin install libasr

From pkgsrc:

cd /usr/pkgsrc/net/libasr && make install clean

Dependencies