php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16735 checkdnsrr claims not to be implemented
Submitted: 2002-04-22 15:12 UTC Modified: 2002-10-26 01:00 UTC
Votes:3
Avg. Score:4.0 ± 0.8
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: brad at i-1 dot net Assigned:
Status: No Feedback Package: *Network Functions
PHP Version: 4.1.2 OS: BSD/OS 4.1
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: brad at i-1 dot net
New email:
PHP Version: OS:

 

 [2002-04-22 15:12 UTC] brad at i-1 dot 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'

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-01 15:44 UTC] 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-07-02 19:05 UTC] brad at i-1 dot 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-02 19:23 UTC] msopacua at idg dot nl
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 :-)
 [2002-10-10 22:56 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [2002-10-26 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 13 18:01:28 2024 UTC