1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/dnsdomainname.md
Sebastiaan Speck 02ed916a89
dnsdomainname: add page (#11450)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-11-11 19:38:45 +01:00

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