#20712 [Opn->Bgs]: the hostname lookup is incorrrect
| From: | sniper@php.net | Date: | Fri, 29 Nov 2002 12:24:52 +0000 |
| Subject: | #20712 [Opn->Bgs]: the hostname lookup is incorrrect | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-26167@lists.php.net to get a copy of this message | ||
ID: 20712
Updated by: sniper@php.net
Reported By: f.labanvoye@cg70.fr
-Status: Open
+Status: Bogus
Bug Type: Performance problem
Operating System: linux
PHP Version: 4.3.0RC2
New Comment:
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.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-11-29 02:42:43] f.labanvoye@cg70.fr
Hello,
I found performance problem in the hostnmae lookup in php-4.3.0RC2 on
linux. Windows platform works fine.
<?php
$localhost = 'localhost';
$ds = ldap_connect ( $localhost );
ldap_bind ( $ds );
?>
When i run this script, php make a dns lookup to find the name
localhost and if not found make a local search (/etc/hosts).
Normaly, it should search first in the /etc/hosts file and next make
dns lookup.
the /etc/hosts and /etc/nsswitch.conf is good.
Thanks
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20712&edit=1