mirror of https://github.com/CrimsonTome/tldr.git
10 lines
348 B
Markdown
10 lines
348 B
Markdown
|
# 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.
|
||
|
> More information: <https://www.gnu.org/software/inetutils/manual/html_node/dnsdomainname-invocation.html>.
|
||
|
|
||
|
- Show the system's DNS domain name:
|
||
|
|
||
|
`dnsdomainname`
|