Bug #16735 Updated: checkdnsrr claims not to be implemented

From: Date: Tue, 02 Jul 2002 23:23:36 +0000
Subject: Bug #16735 Updated: checkdnsrr claims not to be implemented
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12892@lists.php.net to get a copy of this message
ID: 16735 Updated by: msopacua@idg.nl Reported By: brad@i-1.net Status: Open Bug Type: *Network Functions Operating System: BSD/OS 4.1 PHP Version: 4.1.2 New Comment: Actually - it's res_search. If you need the functionality like 'now', you can edit main/php_config.h.in at the bottom, and add: #ifdef __bsdi__ #define HAVE_RES_SEARCH 1 #endif A patch for 4.3.0 is being worked on, but there are many DNS implementations out there and it's hard to detect whether it's in: libc libresolv libsocket libbind libbind +libisc and which headers it needs, to even be detected correctly :-) Previous Comments: ------------------------------------------------------------------------ [2002-07-02 19:05:17] brad@i-1.net The logs dont say anything about checkdnsrr(). As far as I can tell this would be a PHP internal function, probably based on other OS-implemented functions like gethostbyaddr() -- which are all correctly detected by configure. I'd be happy to paste config.log if you think it would be useful ------------------------------------------------------------------------ [2002-07-01 15:44:48] sander@php.net What does configure's output and config.log say about this? configure should detect whether you have checkdnsrr() on your system or not... ------------------------------------------------------------------------ [2002-04-22 15:12:13] brad@i-1.net From my php error log: [22-Apr-2002 12:41:59] PHP Warning: checkdnsrr() is not supported in this PHP build in evs.php on line 8 Manual page for checkdnsrr() says it's included in PHP versions >= 4.0.0. I've seen that some Windows systems don't support or implement this function, but I'm running Unix. This _used_ to work with PHP 4.0.1pl2, from which I've just upgraded. './configure' '--with-zlib=/usr/local' '--with-mysql=/usr/local/mysql' '--with-config-file-path=/var/www/conf' '--with-pdflib=/usr/local/lib' '--enable-track-vars' '--with-apache=/usr/home/brad/builds/apache' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16735&edit=1

« previous php.bugs (#12892) next »