From: dbmdude at the-joys dot com Operating system: Linux PHP version: 4.4.4 PHP Bug Type: Unknown/Other Function Bug description: checkdnsrr does not properly work for me.
Description: ------------ You may see more script examples and this script in action @ http://roadrage.the-joys.com/test.php. The example below is my "Script Case 2". I do not compile PHP nor do I control what version is loaded NOR can I make server changes, but I can add php.ini if you need me to. I can send you a list of settings as I have access to that, but did not include it as it was a huge list. YES THIS IS VALID, but I could not access bug #7058 (checkdnsrr bug) so I added it here. Please Help Eric Joy Reproduce code: --------------- <?php $url = "http://www.wetrwert32465234253erwqerqwer.com/"; $component = parse_url ($url); if (checkdnsrr($component['host'],"MX") == FALSE) { echo "<b>RESULT: No MX record exists for <i>".$component[host]."</i>. Did you enter the URL correctly?</b>"; } else { echo "<b>RESULT: MX record found for <i>".$component[host]."</i></b>"; } ?> Expected result: ---------------- RESULT: No MX record exists for http://www.wetrwert32465234253erwqerqwer.com/. Did you enter the URL correctly? Actual result: -------------- RESULT: MX record found for http://www.wetrwert32465234253erwqerqwer.com/. -- Edit bug report at http://bugs.php.net/?id=38658&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38658&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38658&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38658&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38658&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38658&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38658&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=38658&r=needscript Try newer version: http://bugs.php.net/fix.php?id=38658&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38658&r=support Expected behavior: http://bugs.php.net/fix.php?id=38658&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38658&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38658&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38658&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38658&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38658&r=dst IIS Stability: http://bugs.php.net/fix.php?id=38658&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38658&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38658&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38658&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=38658&r=mysqlcfg