2025-03-14 21:59:59 -06:00
|
|
|
# dnsdomainname
|
|
|
|
|
|
|
|
|
|
> 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.
|
2025-12-16 10:20:31 -07:00
|
|
|
> More information: <https://www.gnu.org/software/inetutils/manual/inetutils.html#dnsdomainname-invocation>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Show the system's DNS domain name:
|
|
|
|
|
|
|
|
|
|
`dnsdomainname`
|