mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
15 lines
440 B
Plaintext
15 lines
440 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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/inetutils.html#dnsdomainname-invocation>.
|
|
|
|
- Show the system's DNS domain name:
|
|
|
|
`dnsdomainname`
|