Resolving IP to FQDN 
Author Message
 Resolving IP to FQDN

Does anyone know of a module which will take an IP address in a
scalar and return the FQDN for the host?

--
= http://www.*-*-*.com/
 612.832.9445 Ext 24   Fax 612.832.5926                     Vice President
 7600 France Ave South, St. 106, Edina, MN 55435  Chief Technology Officer



Wed, 26 May 1999 03:00:00 GMT  
 Resolving IP to FQDN

Quote:

> Does anyone know of a module which will take an IP address in a
> scalar and return the FQDN for the host?

The gethostbyaddr() function is a perl builtin.

  use Socket;

  print "$host[0]\n";

--

Schibsted Nett AS                                 http://www.sn.no/~aas/



Thu, 27 May 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Resolving IP to FQDN

2. How do I determin if a remote-address is a FQDN or IP

3. IP resolving

4. resolving IP addresses on WinNT

5. Resolving an ip?

6. Resolving IP

7. Resolving IP's Q: Does this IP actually exist?

8. getting the FQDN (for anon ftp password)

9. Net::SMTP - using FQDN vs. IP address.

10. IP <-> FQDN lookup code?

11. ping all ip's fron one file without ip's from private sector

12. Getting hostname via numeric IP using TCP/IP?

 

 
Powered by phpBB® Forum Software