Edit report at https://bugs.php.net/bug.php?id=51711&edit=1

 ID:                 51711
 Updated by:         [email protected]
 Reported by:        post at wickenrode dot com
 Summary:            Test curl_basic_008 will fail if dns resolver uses
                     search domain
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            cURL related
 Operating System:   Linux 2.6.18 i686
 PHP Version:        5.3.2
-Assigned To:        
+Assigned To:        pierrick
 Block user comment: N
 Private report:     N

 New Comment:

This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------
[2010-05-01 02:37:18] post at wickenrode dot com

Also affects curl_basic_010.phpt and curl_error_basic.phpt

------------------------------------------------------------------------
[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 https://bugs.php.net/bug.php?id=51711&edit=1

Reply via email to