From owner-freebsd-hackers Mon May 13 12:59:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from orthanc.ab.ca (orthanc.ab.ca [216.123.203.186]) by hub.freebsd.org (Postfix) with ESMTP id C071137B41B for ; Mon, 13 May 2002 12:58:34 -0700 (PDT) Received: from orthanc.ab.ca (localhost.orthanc.ab.ca [127.0.0.1]) by orthanc.ab.ca (8.12.3/8.12.3) with ESMTP id g4DJwYtI089130; Mon, 13 May 2002 13:58:34 -0600 (MDT) (envelope-from lyndon@orthanc.ab.ca) Message-Id: <200205131958.g4DJwYtI089130@orthanc.ab.ca> From: Lyndon Nerenberg Organization: The Frobozz Magic Homing Pigeon Company To: Peter Haight Cc: hackers@FreeBSD.ORG Subject: Re: gethostbyname2 and AF_INET6 In-reply-to: Your message of "Mon, 13 May 2002 00:10:19 PDT." <200205130710.g4D7AJUn049722@wartch.sapros.com> X-Mailer: mh-e 5.0.92; MH 6.8.4; Emacs 21.2 Date: Mon, 13 May 2002 13:58:34 -0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >>>>> "Peter" == Peter Haight writes: Peter> I'm going to try Terry's solution and try and do concurrent Peter> lookups. Mozilla is already using pthreads, so I should be Peter> able to just spawn the two requests in separate threads and Peter> take the one that comes back first. I may even spawn the IPv6 Peter> one a little earlier to give it a slightly better chance of Peter> coming back first. You would do everyone a favour by notifying those sites that don't handle IPv6 DNS queries properly. In many (most) cases the sites aren't aware that their DNS software is broken. A quick e-mail will often see the problem fixed in short order. (bbc.co.uk is a recent example of this.) --lyndon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message