Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Sep 2003 16:40:06 -0700 (PDT)
From:      "Jeremy C. Reed" <reed@reedmedia.net>
To:        chat@freebsd.org
Subject:   Re: strip FreeBSD a bit
Message-ID:  <Pine.LNX.4.43.0309011624390.13485-100000@pilchuck.reedmedia.net>
In-Reply-To: <3F53B77C.45DC8796@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.43.0309011624390.13485-100000>