1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-01 11:53:52 +02:00
tldr/pages/linux/dnsdomainname.md

10 lines
348 B
Markdown
Raw Normal View History

# 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`