From 99cd1e39bbb4fd3ca3fbb27f3c4d221e87940ce7 Mon Sep 17 00:00:00 2001 From: lukem Date: Mon, 8 Jan 2001 15:51:55 +0000 Subject: adns-1.0 - Asynchronous-capable DNS client library and utilities. --- net/adns/Makefile | 14 ++++++++++++++ net/adns/files/md5 | 3 +++ net/adns/pkg/COMMENT | 1 + net/adns/pkg/DESCR | 27 +++++++++++++++++++++++++++ net/adns/pkg/PLIST | 7 +++++++ 5 files changed, 52 insertions(+) create mode 100644 net/adns/Makefile create mode 100644 net/adns/files/md5 create mode 100644 net/adns/pkg/COMMENT create mode 100644 net/adns/pkg/DESCR create mode 100644 net/adns/pkg/PLIST diff --git a/net/adns/Makefile b/net/adns/Makefile new file mode 100644 index 00000000000..232e03e25ad --- /dev/null +++ b/net/adns/Makefile @@ -0,0 +1,14 @@ +# $NetBSD: Makefile,v 1.1 2001/01/08 15:51:55 lukem Exp $ +# + +DISTNAME= adns-1.0 +CATEGORIES= net +MASTER_SITES= http://www.chiark.greenend.org.uk/~ian/adns/ftp/ + +MAINTAINER= lukem@netbsd.org +HOMEPAGE= http://www.chiark.greenend.org.uk/~ian/adns/ + +GNU_CONFIGURE= YES +USE_GMAKE= YES + +.include "../../mk/bsd.pkg.mk" diff --git a/net/adns/files/md5 b/net/adns/files/md5 new file mode 100644 index 00000000000..bb26494e106 --- /dev/null +++ b/net/adns/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1 2001/01/08 15:51:55 lukem Exp $ + +MD5 (adns-1.0.tar.gz) = af4411ee10875b96c0d61f903018f438 diff --git a/net/adns/pkg/COMMENT b/net/adns/pkg/COMMENT new file mode 100644 index 00000000000..32c7bc1e62a --- /dev/null +++ b/net/adns/pkg/COMMENT @@ -0,0 +1 @@ +Asynchronous-capable DNS client library and utilities. diff --git a/net/adns/pkg/DESCR b/net/adns/pkg/DESCR new file mode 100644 index 00000000000..686f34b873f --- /dev/null +++ b/net/adns/pkg/DESCR @@ -0,0 +1,27 @@ +adns is a DNS resolver library and a collection of utilities that use the +library. The adns library has the following features: +* It is reasonably easy to use for simple programs which just want to + translate names to addresses, look up MX records, etc. +* It can be used in an asynchronous, non-blocking, manner. Many + queries can be handled simultaneously. +* Responses are decoded automatically into a natural representation + for a C program - there is no need to deal with DNS packet formats. +* Sanity checking (eg, name syntax checking, reverse/forward + correspondence, CNAME pointing to CNAME) is performed automatically. +* Time-to-live, CNAME and other similar information is returned in an + easy-to-use form, without getting in the way. +* There is no global state in the library; resolver state is an + opaque data structure which the client creates explicitly. A + program can have several instances of the resolver. +* Errors are reported to the application in a way that distinguishes + the various causes of failure properly. +* Understands conventional resolv.conf, but this can overridden by + environment variables. +* Flexibility. For example, the application can tell adns to: ignore + environment variables (for setuid programs), disable hostname + syntax sanity checks to return arbitrary data, override or ignore + resolv.conf in favour of supplied configuration, etc. +* Believed to be correct ! For example, will correctly back off to + TCP in case of long replies or queries, or to other nameservers if + several are available. It has sensible handling of bad responses etc. + diff --git a/net/adns/pkg/PLIST b/net/adns/pkg/PLIST new file mode 100644 index 00000000000..13c99dcae8d --- /dev/null +++ b/net/adns/pkg/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1 2001/01/08 15:51:56 lukem Exp $ +bin/adnshost +bin/adnslogres +bin/adnsresfilter +include/adns.h +lib/libadns.a +lib/libadns.so.1.0 -- cgit v1.2.3