Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42525 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65830 invoked from network); 7 Jan 2009 09:24:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jan 2009 09:24:58 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 72.14.220.155 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: 72.14.220.155 fg-out-1718.google.com Received: from [72.14.220.155] ([72.14.220.155:65025] helo=fg-out-1718.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A3/93-41481-7E474694 for ; Wed, 07 Jan 2009 04:24:56 -0500 Received: by fg-out-1718.google.com with SMTP id 16so2780322fgg.23 for ; Wed, 07 Jan 2009 01:24:52 -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=Ow/GL62nyt/NnAawGuVBdhPnjDB29sbUTkk1GwpY+lcsoNzapbGTfT8u6B1vrM0wh+ 9huRg+uSOFuN++j9vKhgGGGIrmJT6BcJ6DVBHOIxrNWVGIsdjNsxCCE0WTVXcZBMC6Rt 6EKLrZSDP4Pm0HJjuUjcM5N09HtB7Xu6B+yD8= 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=m4Yc66UYzvB2hXfvC9kZBdMGs+I3fIgY7bZljV5lyymWMr7+tJ21qhu55ZxYRQ94/s xbjYxNPJ3lx5nBvz5chiFLqhPG90FYXctyMunT7HsZkljqsPiyn39QOCYIIvdJgrel1P e4Ap+JIBoBl9qLKSmGl89QCMP/0k6ON0rwUqo= Received: by 10.86.80.17 with SMTP id d17mr13347417fgb.14.1231320292049; Wed, 07 Jan 2009 01:24:52 -0800 (PST) Received: by 10.86.92.2 with HTTP; Wed, 7 Jan 2009 01:24:51 -0800 (PST) Message-ID: Date: Wed, 7 Jan 2009 10:24:51 +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