Re: dns_get_record for OSX
| From: | Hannes Magnusson | Date: | Wed, 07 Jan 2009 08:06:28 +0000 |
| Subject: | Re: dns_get_record for OSX | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42524@lists.php.net to get a copy of this message | ||
On Wed, Jan 7, 2009 at 07:49, Kalle Sommer Nielsen <kalle@php.net> wrote:
> Hi Scott
>
> 2009/1/7 Scott MacVicar <scott@macvicar.net>:
>> 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
FreeBSD ports have had their own patch for years.
-Hannes