For example, each of the following Net::Domain functions will return undef if the FQDN cannot be determined.
hostdomain |
hostdomain()
Returns the remainder of the FQDN after the hostname has been removed.
hostfqdn |
hostfqdn()
Identifies and returns the FQDN of the current host.
hostname |
hostname()
Returns the smallest part of the FQDN that can be used to identify the host.
Copyright © 2002 O'Reilly & Associates. All rights reserved.