|  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
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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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'


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-01 15:44 UTC]
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/ at the bottom, and add:

#ifdef __bsdi__
  #define HAVE_RES_SEARCH 1

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:
libbind +libisc

and which headers it needs, to even be detected correctly :-)
 [2002-10-10 22:56 UTC]
Please try using this CVS snapshot:
For Windows:

 [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: Tue Jul 16 15:01:28 2024 UTC