BSD Ports

dns/linux-c7-libasyncns 0.8_1 MidnightBSD

Library for executing DNS queries (Linux CentOS

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-c7-libasyncns0.8_1
FreeBSDdns/linux-c7-libasyncns0.8_1
NetBSDnet/libasyncns0.8
GhostBSDdns/linux-c7-libasyncns0.8_1

Install

Binary package:

mport install libasyncns

From mports:

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

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

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

Dependencies

Required by 1

Configuration

Options name: dns_libasyncns

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

Files

distinfo 4
FileSizeSHA256
centos/libasyncns-0.8-7.el7.aarch64.rpm258563b5adf6a127b173e173d4315debf67f318bd998b25ae32724e3ebde2fe740243
centos/libasyncns-0.8-7.el7.i686.rpm2659286006ec7b6b5bc63c4225d98fe3d309d75d5b5f43f75bb81274e379e3f4573f1
centos/libasyncns-0.8-7.el7.x86_64.rpm268161acf01399f6d5ea5f9bbbac18e67e77dc277551a24ad53de06f404205cb51206
centos/libasyncns-0.8-7.el7.src.rpm347143ada6388ee1a4198ca82fe18a0333937d4c9d72715106c46aa2413d5dc27982ab