[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#171253: ITP: libdjbdns -- DNS client library designed to replace the BIND res_*/dn_* library

Package: wnpp
Severity: wishlist

DNS client library designed to replace the old BIND res_*/dn_* library[0]

High-level lookups:

The dns library provides several easy-to-use DNS lookup routines:
dns_ip4, dns_ip4_qualify, dns_name4, dns_mx, and dns_txt.

dns_ip4_qualify supports the traditional configuration mechanisms for
hostname rewriting: $LOCALDOMAIN, /etc/resolv.conf, and gethostname. It
also supports a powerful new user-controlled rewriting mechanism.

The functions that read /etc/resolv.conf automatically reread it every
ten minutes, so system administrators don't have to kill long-running

Low-level lookups:

The dns_domain_* and dns_packet_* functions make it easy to safely parse
DNS packets. The dns_transmit_* functions send DNS queries of arbitrary
types to arbitrary servers. These are the functions used in the dnscache

License: Bernstein has put the .[ch] files (dns.h, dns_dfd.c,
dns_domain.c, dns_dtda.c, dns_ip.c, dns_ipq.c, dns_mx.c, dns_name.c,
dns_nd.c, dns_packet.c, dns_random.c, dns_rcip.c, dns_rcrw.c,
dns_resolve.c, dns_sortip.c, dns_transmit.c, dns_txt.c) and all
necessary lower-level .[ch] files into the public domain[1].  I do not
plan to make any changes to those files, so Bernstein's djbdns security
guarantee[2] applies. My additions to the package will be licensed under
a BSD compatible license.

Regards, Gerrit.

[0] http://cr.yp.to/djbdns/blurb/library.html
[1] http://cr.yp.to/djbdns/res-disaster.html
[2] http://cr.yp.to/djbdns/guarantee.html

Attachment: pgpfzN6KkzSOw.pgp
Description: PGP signature

Reply to: