Edit report at http://bugs.php.net/bug.php?id=53025&edit=1
ID: 53025 User updated by: uni at daniel-marschall dot de Reported by: uni at daniel-marschall dot de Summary: checkdnsrr() result vary for specific server -Status: Feedback +Status: Open Type: Bug Package: Unknown/Other Function Operating System: Various PHP Version: Irrelevant Block user comment: N New Comment: WRONG results at: - Windows XP Home 5.1.2600 SP 3, PHP 5.3.1 and PHP 5.3.3 (both PHP versions tested) - Linux version 2.6.24-etchnhalf.1-686 (Debian 2.6.24-6~etchnhalf.9etch3) (da...@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Thu Feb 25 05:42:02 UTC 2010 . Previous Comments: ------------------------------------------------------------------------ [2010-10-10 14:45:49] paj...@php.net I asked which OS and which versions of these OSes do you use. Please answer. ------------------------------------------------------------------------ [2010-10-10 06:50:44] uni at daniel-marschall dot de Hello. I DO think that it is a bug in PHP. To your question, which OS I am using, please look in my initial comment again. I ran this testscript with wrong results on Windows AND Linux. It is not possible that my DNS/ISP is fault since I got also a Java application which checks A-records and there "us.ibm.com" has no A-records. But the PHP script says, A-records are available. ------------------------------------------------------------------------ [2010-10-09 01:50:43] paj...@php.net Which operating system are you using exactly? Windows (which version?) Or linux? Windows has a different DNS implementation than unix. Also different results may be due to the use of different DNS servers. Be sure to check that every client uses the same. On windows you don't have to install PHP to test a new version but simply uncompress the zip somewhere and run: php -n dns.php from the php directory. ------------------------------------------------------------------------ [2010-10-09 00:46:39] uni at daniel-marschall dot de I have tried it now with PHP 5.3.3 at my Windows XP machine. Same result. A-record found. I expect that no A-record for this hostname is found. Alas, I cannot change the PHP versions for the 2 webservers. ------------------------------------------------------------------------ [2010-10-08 17:20:18] dominic at sayers dot cc Daniel - check http://bugs.php.net/bug.php?id=51844 I see you're using a mixture of PHP 5.2 and 5.3 - is this a new bug in 5.3 perhaps? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/bug.php?id=53025 -- Edit this bug report at http://bugs.php.net/bug.php?id=53025&edit=1