BSD Ports

dns/linux-rl9-libasyncns 0.8_1 MidnightBSD

Library for executing DNS queries (Rocky Linux

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
lgpl2.1+
Categories
dns, devel, linux

Description

libasyncns is a C library for Linux/Unix for executing name service queries asynchronously. It is an asynchronous wrapper around getaddrinfo(3), getnameinfo(3), res_query(3) and res_search(3) from libc and libresolv.

In contrast to GNU's asynchronous name resolving API getaddrinfo_a(), libasyncns does not make use of UNIX signals for reporting completion of name queries. Instead, the API exports a standard UNIX file descriptor which may be integerated cleanly into custom main loops.

In contrast to asynchronous DNS resolving libraries like libdenise, skadns, adns, libasyncns is just an asynchronous wrapper around the libc's synchronous getaddrinfo() API, which has the advantage of allowing name resolution using techniques like Multicast DNS, LDAP or NIS using standard libc NSS (Name Service Switch) modules. libasyncns is compatible with IPv6 if the underlying libc is.

libasyncns is very tiny, consisting of just one header and one source file. It has no dependencies besides libc.

In the other systems

SystemPortVersion
MidnightBSDdns/linux-rl9-libasyncns0.8_1
FreeBSDdns/linux-rl9-libasyncns0.8_1
NetBSDnet/libasyncns0.8
GhostBSDdns/linux-rl9-libasyncns0.8_1

Install

Binary package:

mport install libasyncns

From mports:

cd /usr/mports/dns/linux-rl9-libasyncns && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libasyncns>0:dns/linux-rl9-libasyncns

Dependencies

No port depends on this one.

Configuration

Options name: dns_libasyncns

OptionDefaultDescription
DOCSoff
USES
linux:rl9
Service scripts
none
Conflicts with
linux-c7-libasyncns

Files

distinfo 4
FileSizeSHA256
rocky/l/libasyncns-0.8-22.el9.aarch64.rpm29752da01cd83ff27aaee4dd3a7d4f5401af18ca1b973fbbc27d78fe3fa5d93475a77
rocky/l/libasyncns-0.8-22.el9.i686.rpm30763222f5228a91daff60bb51e0a351fd14b881e299a21ebfb8d8f84888e60150cdf
rocky/l/libasyncns-0.8-22.el9.x86_64.rpm30122c4e0f32330d3eba8546a9f8b92952f1cd461d09a92cd7d80751d16338acee6c7
rocky/l/libasyncns-0.8-22.el9.src.rpm3503329b2338b8a316d1c04f6dd7525ca3be59db18a32a7cb4c5f500bcaa3accc60e1b