Net::Domain
Net::Domain
NAME
Net::Domain - Attempt to evaluate the current host's internet name and domain
SYNOPSIS
use Net::Domain qw(hostname hostfqdn hostdomain domainname);
DESCRIPTION
Using various methods attempt to find the Fully Qualified Domain Name (FQDN) of the current host. From this determine the host-name and the host-domain.
Each of the functions will return undef if the FQDN cannot be determined.
-
hostfqdn ()
Identify and return the FQDN of the current host.
-
domainname ()
An alias for hostfqdn ().
- 登录查看完整内容