Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42523 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44902 invoked from network); 7 Jan 2009 06:50:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jan 2009 06:50:52 -0000 Authentication-Results: pb1.pair.com header.from=kalle.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=kalle.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.21 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: kalle.php@gmail.com X-Host-Fingerprint: 209.85.218.21 mail-bw0-f21.google.com Received: from [209.85.218.21] ([209.85.218.21:51234] helo=mail-bw0-f21.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C8/50-41481-29054694 for ; Wed, 07 Jan 2009 01:49:55 -0500 Received: by bwz14 with SMTP id 14so21099057bwz.23 for ; Tue, 06 Jan 2009 22:49:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=7BkoAsvdXiwZmADocA+XHcnkPPt2ItQ2Q2X06EbsvWw=; b=E3zb5yO3LU/PmGOwhWQui8/mJV7+Tdtd6wncqod881xaazgioW91pL+pOPGSYIu9FB q1HcLOWauXFUwG/ArC7yeXFn5QIkHfE7Nv4t03WoHJGuCi/WAOZCvpCSwL6H8tH7edD1 yxpZQSZXnu5Ka55SFvfKasQClHNAte8r1TEY8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=nSRLDXDDNcn+cbEs2HG54invKITa1VAU6r/Qz3r+ZZ7nGPniYrDlFRCKr/FIf+wLAH /OcNoAdBluO7JXQ6IdQrI3kC0f6gLHo6Rg0mKbYnF9QyV+y88h9i9Lfz5XJqgnQ19fjt Z3Pz/3nszkklz7jfOeEvHTnk5uX524gjHJrPg= Received: by 10.223.109.198 with SMTP id k6mr16129117fap.46.1231310991594; Tue, 06 Jan 2009 22:49:51 -0800 (PST) Received: by 10.223.112.82 with HTTP; Tue, 6 Jan 2009 22:49:51 -0800 (PST) Message-ID: <2dedb8a0901062249w16eb644er8426c7db0f197d6d@mail.gmail.com> Date: Wed, 7 Jan 2009 07:49:51 +0100 Sender: kalle.php@gmail.com To: "Scott MacVicar" Cc: "PHP internals" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: 6f3bb49d12b4b758 Subject: Re: [PHP-DEV] dns_get_record for OSX From: kalle@php.net ("Kalle Sommer Nielsen") Hi Scott 2009/1/7 Scott MacVicar : > I went to look at the bug Pierre mention earlier and noticed that > dns_get_record isn't implemented on OS X, this looks to be down to the fact > that it has a bind 8 BC layer that we use by default for some reason. I > tried to make it use the bind 9 interface but it wasn't a simple task as > some other things were missing. > > End result here is a patch that allows bind 8 to work and therefore OS X, > the main difference is that there is a shared _res structure rather than a > per request one. Does this mean it will also work on BSD? As far I remember then dns_get_record wasn't implemented on BSD aswell. If not then it would be ideal to support it if OSX is patched :) > > I'll apply this tomorrow if no one has any objections. > > Scott -- Kalle Sommer Nielsen