| DNSDOMAINNAME(1) | General Commands Manual (urm) | DNSDOMAINNAME(1) |
dnsdomainname —
show DNS domain name
dnsdomainname |
[option ...] |
Show 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 canonical name is shown.
| February 1, 2019 | GNU Network Utilities |