From owner-freebsd-hackers Fri Aug 13 19:42:18 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (Postfix) with ESMTP id 70C2E14C57 for ; Fri, 13 Aug 1999 19:42:15 -0700 (PDT) (envelope-from tlambert@usr04.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id TAA01514; Fri, 13 Aug 1999 19:41:32 -0700 (MST) Received: from usr04.primenet.com(206.165.6.204) via SMTP by smtp02.primenet.com, id smtpd001472; Fri Aug 13 19:41:22 1999 Received: (from tlambert@localhost) by usr04.primenet.com (8.8.5/8.8.5) id TAA25764; Fri, 13 Aug 1999 19:41:18 -0700 (MST) From: Terry Lambert Message-Id: <199908140241.TAA25764@usr04.primenet.com> Subject: Re: gethostbyaddr() and threads. To: dcs@newsguy.com (Daniel C. Sobral) Date: Sat, 14 Aug 1999 02:41:18 +0000 (GMT) Cc: dan@trinsec.com, Don.Lewis@tsc.tdk.com, ognir@humboldt1.com, louie@TransSys.COM, steve_tarkalson@hotmail.com, bmcgover@cisco.com, hackers@FreeBSD.ORG In-Reply-To: <37B05320.E6722A4B@newsguy.com> from "Daniel C. Sobral" at Aug 11, 99 01:28:16 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Dan Moschuk wrote: > > > > Does anyone have any issues with merging the new bind resolver API into > > libc? > > Well, Terry does, though I don't quite recall his reasoning. :-) > Notice, he objects the way FreeBSD is today, with the bind resolver > API inside libc. I object because it perpetuates a situation which has made it take this long to get the issue addressed. I also object because BIND 9 is currently in the works, and there is talk of replacing the AAAA records with A6 records in the DNSEXT working group. The resolver should be in a seperate library to facilitate speedy integration of future releases, and because its designers put it in a seperate library. The correct way to get historical BSD behaviour, i.e. linking libc gives you the resolver, is to take advantage of ELF, and link the libc against the libresolver, and thus incorporate it by reference (if this doesn't work in FreeBSD, it should; I haven't checked). Of course, my ideal world would update all of the Makefiles for all of the network utilities (including the ports) to know about libresolver explicitly, but that's unlikely to come to pass. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message