strip FreeBSD a bit
Jeremy C. Reed
reed at reedmedia.net
Mon Sep 1 16:40:10 PDT 2003
On Mon, 1 Sep 2003, Terry Lambert wrote:
> > Or another alternative is his resolver code. His low-level DNS resolver
> > routines are in "public domain".
> >
> > Has anyone integrated djb's public domain resolver code into libc?
>
> I didn't see that the djbdns license declared it to be in the
> public domain.
I am not sure where either. But DJB noted to bugtraq
<20020704164247.30990.qmail at cr.yp.to> a while back that:
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 are now in the
public domain.
This is also mentioned at http://cr.yp.to/djbdns/res-disaster.html
Looking at this source (djbdns-1.05), I don't see any copyrights or
licenses in any of these individual files.
> 3) In accordance with his standard diatribe on SRV and other
> new record types, he only supports address records, MX,
> and TXT records, which is less than useful in the real
> world.
I have no answer; I do not (knowlingly) use SRV records.
> 2) I don't want to have to rewrite all the software in the
> world to use the new API; even if I wanted to, and was
> willing to, doing so would make it incompatabile with
> any standard UNIX system which does not also have Dan's
> library loaded on it.
I haven't looked at it closely. I just read that it is "designed to
replace the old BIND res_*/dn_* library" at
http://cr.yp.to/djbdns/blurb/library.html.
I don't know how easy it would be (or if it would be worth it) to create
wrappers.
Anyways, I am curious if anyone uses it (or has tried it) as an
alternative.
Jeremy C. Reed
http://bsd.reedmedia.net/
More information about the freebsd-chat
mailing list