ID: 30987 User updated by: jmambo7 at yahoo dot com Reported By: jmambo7 at yahoo dot com -Status: Feedback +Status: Open Bug Type: Network related Operating System: Linux PHP Version: 4.3.8 New Comment:
I have appended a dot at the end of the domain name but still getting the same result. Previous Comments: ------------------------------------------------------------------------ [2004-12-06 15:44:53] [EMAIL PROTECTED] 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"; ------------------------------------------------------------------------ [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