note 30991 added to function.gethostbyaddr
| From: | dm168 at prism dot gatech dot edu | Date: | Sat, 05 Apr 2003 16:45:52 +0000 |
| Subject: | note 30991 added to function.gethostbyaddr | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-46261@lists.php.net to get a copy of this message | ||
Hello,
alrighty, here's my setup at home:
|---Windows laptops (2)
Internet ---- DSL Modem (static IP) ---- Gateway ---- Linux box
the problem i'm having is that reverse DNS is not working on the linux
box, specifically, the PHP function gethostbyaddr simply returns the IP
address, not the hostname. my /etc/resolv.conf file contains the DNS
servers for my ISP. see http://www.yankeesinthesouth.org/test.php (and
http://www.yankeesinthesouth.org/test.phps
for source). are there any other network options that need to be set to get reverse DNS
functioning?
the box can browse the web, etc just fine without any problems.
thanks,
dm
--
http://www.php.net/manual/en/function.gethostbyaddr.php
http://master.php.net/manage/user-notes.php?action=edit+30991
http://master.php.net/manage/user-notes.php?action=delete+30991
http://master.php.net/manage/user-notes.php?action=reject+30991