Bug #13423: gethostbyname() returns hostname when ip address is part of hostname
| From: | gardner at armory dot com | Date: | Mon, 24 Sep 2001 22:12:03 +0000 |
| Subject: | Bug #13423: gethostbyname() returns hostname when ip address is part of hostname | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-66498@lists.php.net to get a copy of this message | ||
From: gardner@armory.com
Operating system:
PHP version: 4.0.4pl1
PHP Bug Type: Unknown/Other Function
Bug description: gethostbyname() returns hostname when ip address is part of hostname
When you pass a host name such as
ip-255-255-255-255.reverse.mobilenetics.com to gethostbyname() it returns
the hostname, not the ip address.
Regular hostnames like google.com work.
--
Edit bug report at: http://bugs.php.net/?id=13423&edit=1