Edit report at http://bugs.php.net/bug.php?id=51711&edit=1
ID: 51711 User updated by: post at wickenrode dot com Reported by: post at wickenrode dot com Summary: Test curl_basic_008 will fail if dns resolver uses search domain Status: Open Type: Bug Package: cURL related Operating System: Linux 2.6.18 i686 PHP Version: 5.3.2 New Comment: Also affects curl_basic_010.phpt and curl_error_basic.phpt Previous Comments: ------------------------------------------------------------------------ [2010-05-01 02:32:40] post at wickenrode dot com Description: ------------ Precondition: If the server has a dns entry "*.server IN CNAME server" and will append "server" to non-absolute dns names the DNS query will actually succeed and the test will fail. The DNS resolvers method of appending a search domain specified in /etc/resolv.conf is valid. Thus the test should use an absolute DNS name. # curl http://23rrweffgert.234tr3dger [...default apache page...] # curl http://23rrweffgert.234tr3dger. curl: (6) Couldn't resolve host '23rrweffgert.234tr3dger.' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=51711&edit=1