dnsdomainname
linux
Show the system's DNS domain name. Note: The tool uses `gethostname` to get the hostname of the system and then `getaddrinfo` to resolve it into a canonical name.
More info →Examples (1)
Show the system's DNS domain name
made by @shridhargupta | data from tldr-pages