From owner-freebsd-current Wed Sep 23 02:01:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA13573 for freebsd-current-outgoing; Wed, 23 Sep 1998 02:01:31 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp01.primenet.com (smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA13568 for ; Wed, 23 Sep 1998 02:01:26 -0700 (PDT) (envelope-from tlambert@usr04.primenet.com) Received: (from daemon@localhost) by smtp01.primenet.com (8.8.8/8.8.8) id CAA10334; Wed, 23 Sep 1998 02:01:22 -0700 (MST) Received: from usr04.primenet.com(206.165.6.204) via SMTP by smtp01.primenet.com, id smtpd010324; Wed Sep 23 02:01:21 1998 Received: (from tlambert@localhost) by usr04.primenet.com (8.8.5/8.8.5) id CAA05540; Wed, 23 Sep 1998 02:01:18 -0700 (MST) From: Terry Lambert Message-Id: <199809230901.CAA05540@usr04.primenet.com> Subject: Re: DNS in CURRENT To: sthaug@nethelp.no Date: Wed, 23 Sep 1998 09:01:18 +0000 (GMT) Cc: tlambert@primenet.com, current@FreeBSD.ORG In-Reply-To: <24083.906533400@verdi.nethelp.no> from "sthaug@nethelp.no" at Sep 23, 98 08:50:00 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-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > The good thing about this is that, while the daemon is capable > > of fielding multiple outstanding requests, the libresolv that > > is part of libc is not. > > > > Oh, wait, that's not a good thing... > > > > I believe that ELF is a nice opportunity for us to seperate the > > resolver functions out of libc into libresolv, allowing us a > > better opportunity to track bind as a vendor branch from ISC. > > I like this in principle, but: Wouldn't this mean that programs need to > explicitly link with -lresolv for gethostbyname() to work? If so, I'm > not sure that's such a good idea in practice. See Peter Wemm's posting. The answer is "yes and no", depending on how you handle weak symbols, and how it's actually implemented. The use of libresolv buys you the ability to use pluggable versions of the libresolv code -- specifically, things like LDAP as NIS RFC support. It incidently buys you concurency. Isn't anyone else annoyed by Netscape hanging for up to 3 minutes on a DNS lookup of a typo? 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-current" in the body of the message