Re: dns_get_record for OSX
| From: | Pierre Joye | Date: | Wed, 07 Jan 2009 09:24:51 +0000 |
| Subject: | Re: dns_get_record for OSX | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42525@lists.php.net to get a copy of this message | ||
hi,
On Wed, Jan 7, 2009 at 4:30 AM, Scott MacVicar <scott@macvicar.net> 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