inetutils-dnsdomainname (1) Linux Manual Page
GNU Network Utilities Namednsdomainname – show DNS domain name Synopsisdnsdomainname [option … ] DescriptionShow the domain part of the system’s fully qualified host name. The tool uses gethostname(2) to get the host name of the system and getaddrinfo(2) to resolve it into a canonical name. The part after the first period (`.’ ) of the…
