Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42526 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67002 invoked from network); 7 Jan 2009 09:26:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jan 2009 09:26:11 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.182.190 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 64.233.182.190 nf-out-0910.google.com Received: from [64.233.182.190] ([64.233.182.190:40533] helo=nf-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F9/D3-41481-13574694 for ; Wed, 07 Jan 2009 04:26:11 -0500 Received: by nf-out-0910.google.com with SMTP id b11so1057582nfh.13 for ; Wed, 07 Jan 2009 01:26:07 -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:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=JtI51gMWx1Olol1bNzamgPBvGKInMy4G89ap98tbS1c=; b=Xak9JrTzs2/+lOLYE8vwafZe0gEEc2qKJI6YxJID7hTkjxk7057v6hL6xhhKjc4Gmv yNXs4TVjpQwck+eWWwEt77JSIivSkr6HpsBvfBeBovJpaKAv+53WtrT325N5CErbYmm7 4BQTdrASUjRU48AM8BK6rQAJKFzOYilgmO25Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=F2TPGlU4aPjgjCAcfvmSc6p5+lpGiedf+4oyWtTP3ICM1aepk9+2+mGNXdNj9jJtAE 0/EmegBD/iVCMy+nNJB5/1bxa/KME6l1iwxw5sddSvYo5TkGXJwkbQ0MfLsnK4UYR57F zXYi/DSVtZUfdNdd1jz6yGGbGxSdi9B2rf+Kw= Received: by 10.67.121.14 with SMTP id y14mr13778245ugm.72.1231320367019; Wed, 07 Jan 2009 01:26:07 -0800 (PST) Received: by 10.66.255.13 with HTTP; Wed, 7 Jan 2009 01:26:06 -0800 (PST) Message-ID: Date: Wed, 7 Jan 2009 10:26:06 +0100 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: Subject: Re: [PHP-DEV] dns_get_record for OSX From: pierre.php@gmail.com ("Pierre Joye") hi, On Wed, Jan 7, 2009 at 4:30 AM, Scott MacVicar wrote: > 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. Please look at (1st result in google or bugs.php.net :): http://bugs.php.net/bug.php?id=29337 > I'll apply this tomorrow if no one has any objections. About FreeBSD: http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/php5/files/patch-ext_standard_dns.h Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org