ID: 30987 Updated by: [EMAIL PROTECTED] Reported By: jmambo7 at yahoo dot com -Status: Open +Status: Feedback Bug Type: Network related Operating System: Linux PHP Version: 4.3.8 New Comment:
The most likely cause for this is that your resolv settings are configured to include a search domain for which a wilcard exists. Try appending a . to the end of hostnames which you wish to check to prevent the search name from being appended. i.e. if (checkdnsrr("netvoice.com.", "ANY")) echo "domain name has been taken"; else echo "domain name is available"; Previous Comments: ------------------------------------------------------------------------ [2004-12-05 20:51:22] jmambo7 at yahoo dot com Description: ------------ There are domains that checkdnsrr is reporting that they do not exist, while when I search the domain names in several respectable domain registration websites they indicate that the domain names exist. An example is netvoice.com and ataz.com Reproduce code: --------------- if (checkdnsrr("netvoice.com", "ANY")) echo "domain name has been taken"; else echo "domain name is available"; Expected result: ---------------- I expect the code to tell me the domain name has been taken Actual result: -------------- The result is the domain name is available ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30987&edit=1