ID:               43886
 Updated by:       [EMAIL PROTECTED]
 Reported By:      php dot gewuerzschinken at spamgourmet dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         *Network Functions
 Operating System: Slackware Linux 11
 PHP Version:      5.2.5
 New Comment:

This is not possible as long as res_search() returns -1 both on failure
and "no records".


Previous Comments:
------------------------------------------------------------------------

[2008-01-18 03:11:10] php dot gewuerzschinken at spamgourmet dot com

Description:
------------
I'd like to see the function distinguishing between 'no records'
(boolean function result or zero) and 'error' (Exception or negative
function result).  

In the case of an error, one would log the error and continue or not.
And if there is no record, one would sort out the invalid domain.
At the moment I have to sort out the domain in every way even if the
domain is valid but the machine cannot connect to a domain name service
or what ever.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=43886&edit=1

Reply via email to