Re: dns_get_record for OSX
| From: | Kalle Sommer Nielsen | Date: | Wed, 07 Jan 2009 06:49:51 +0000 |
| Subject: | Re: dns_get_record for OSX | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42523@lists.php.net to get a copy of this message | ||
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
be ideal to support it if OSX is patched :)
>
> I'll apply this tomorrow if no one has any objections.
>
> Scott
--
Kalle Sommer Nielsen