Edit report at https://bugs.php.net/bug.php?id=29337&edit=1
ID: 29337 Updated by: ras...@php.net Reported by: php at to-the-max dot net Summary: dns_get_record() unavailable on *BSD -Status: Feedback +Status: Closed Type: Feature/Change Request Package: Network related Operating System: FreeBSD PHP Version: 5.0.0 -Assigned To: +Assigned To: rasmus Block user comment: N Private report: N New Comment: This doesn't seem to be an issue anymore with recent versions Previous Comments: ------------------------------------------------------------------------ [2010-06-13 14:52:57] fel...@php.net Please try using this snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://windows.php.net/snapshots/ ------------------------------------------------------------------------ [2008-04-18 12:00:06] manuel at mausz dot at I ran into the same problem yesterday. So I decided to modify the source to fallback to the deprecated ns_mkquery/ns_send if the newer functions aren't available. Patch for 5.3 and HEAD: http://manuel.mausz.at/coding/patches/php/5.3.0/php-5.3.0-dns_get_record.patch Tested on FreeBSD but should work on other BSDs and probably on OS X too. ------------------------------------------------------------------------ [2004-08-02 11:08:39] der...@php.net Assigning to the person who last touched this. ------------------------------------------------------------------------ [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 https://bugs.php.net/bug.php?id=29337&edit=1