php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38658 checkdnsrr does not properly work for me.
Submitted: 2006-08-30 14:27 UTC Modified: 2006-08-30 14:43 UTC
From: dbmdude at the-joys dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.4.4 OS: Linux
Private report: No CVE-ID: None
 [2006-08-30 14:27 UTC] dbmdude at the-joys dot com
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/.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-30 14:43 UTC] tony2001@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 14 02:01:32 2025 UTC