Info Node: (inetutils.info)dnsdomainname invocation
inetutils.info: dnsdomainname invocation
Top logger invocation hostname invocation Back to Software Index
4 'dnsdomainname': Show DNS domain name
***************************************
'dnsdomainname' is a program to show the domain part of the system's
fully qualified domain name. For example, if the FQDN of the system is
'name.example.org' the command will show 'example.org'. The output is
not necessarily related to the NIS/YP domain name.
The tool uses gethostname to get the host name of the system and then
getaddrinfo to resolve it into a canonical name. The domain part of the
canonical name is shown, i.e., the part after the first period ('.') of
the official name.
Synopsis:
dnsdomainname [OPTION...]
There is no command specific option.
automatically generated by info2www version 1.2