dnsdomainname
Show domain this system belongs to (same as hostname -d). toybox
On Linux
Linux
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.
Show the system's DNS domain name
dnsdomainnameIdentify