mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-27 20:53:34 +00:00
Update cheatsheets
This commit is contained in:
14
linux/dnsdomainname
Normal file
14
linux/dnsdomainname
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
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/html_node/dnsdomainname-invocation.html>.
|
||||
|
||||
- Show the system's DNS domain name:
|
||||
|
||||
`dnsdomainname`
|
||||
Reference in New Issue
Block a user