From 02ed916a8923dca23745dbcea0218ac397e42785 Mon Sep 17 00:00:00 2001 From: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Date: Sat, 11 Nov 2023 19:38:45 +0100 Subject: [PATCH] dnsdomainname: add page (#11450) Co-authored-by: K.B.Dharun Krishna --- pages/linux/dnsdomainname.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 pages/linux/dnsdomainname.md diff --git a/pages/linux/dnsdomainname.md b/pages/linux/dnsdomainname.md new file mode 100644 index 000000000..59c16b190 --- /dev/null +++ b/pages/linux/dnsdomainname.md @@ -0,0 +1,9 @@ +# 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: . + +- Show the system's DNS domain name: + +`dnsdomainname`