Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Reliable FQDN from IP

by marto (Bishop)
on Nov 07, 2012 at 12:50 UTC ( #1002670=note: print w/replies, xml ) Need Help??

in reply to Reliable FQDN from IP

Net::Domain is core:

use strict; use warnings; use Net::Domain qw( hostfqdn ); my $host = hostfqdn(); print "$host\n";

Tested under Solaris, Perl 5.8.8

Update: Obviously this is for the current host, sorry if this doesn't actually answer the question. I'll never post another node while waiting for a hospital appointment to start.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1002670]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2016-10-22 20:59 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (298 votes). Check out past polls.