#29337 [Opn->Asn]: dns_get_record() unavailable on *BSD
| From: | derick@php.net | Date: | Mon, 02 Aug 2004 09:08:41 +0000 |
| Subject: | #29337 [Opn->Asn]: dns_get_record() unavailable on *BSD | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-63898@lists.php.net to get a copy of this message | ||
ID: 29337
Updated by: derick@php.net
Reported By: php at to-the-max dot net
-Status: Open
+Status: Assigned
Bug Type: Network related
Operating System: FreeBSD
PHP Version: 5.0.0
-Assigned To:
+Assigned To: pollita
New Comment:
Assigning to the person who last touched this.
Previous Comments:
------------------------------------------------------------------------
[2004-07-22 19:30:31] php at to-the-max dot net
Description:
------------
dns_get_record() is not available when PHP is compiled under BSD.
/ext/standard/dns.c uses the res_nmkquery() and res_nsearch() functions
present in newer versions of BIND's libresolv.
However those functions are not present on *BSD (and probably other)
systems.
Please consider using the older res_mkquery(), res_search() fuctions,
to maximize compatibility.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29337&edit=1