dnsdomainname(1)
β¨ dnsdomainname β show DNS domain name β¨
okay bestie, so you know how you're like "who even am I on this network" β this little icon answers that. it's the dnsdomainname page from the User's Reference Manual π
π¦ SYNOPSIS π¦
dnsdomainname [option ...]
πΈ DESCRIPTION πΈ
She shows you the domain part of the system's fully qualified host name. that's it. that's the whole job. and she does it flawlessly, no cap π
here's the tea on how she does it:
- she calls
gethostname(2)to grab the host name of the system - then she calls
getaddrinfo(2)to resolve that into a canonical name - then she shows you the part after the first period (
'.') of that canonical name
so like. everything past the first dot. periodt. π
π OPTIONS π
-?,--helpβ gives you this help list. your girl is helpful fr fr π«Ά--usageβ gives you a short usage message. short & sweet, lowkey iconic π-V,--versionβ prints the program version. main character energy π
π₯ SEE ALSO π₯
and that's the whole page bestie, go forth and domain-name πβ¨
laterrr π this one's from the GNU Network Utilities, dated February 1, 2019 β love that for her, an absolute vintage queen π
π¦ where this page comes from
- debian trixie: inetutils-tools 2:2.6-3+deb13u3
- ubuntu questing: inetutils-tools 2:2.6-1ubuntu3
- ubuntu questing: inetutils-tools 2:2.6-1ubuntu3.2
- ubuntu resolute: inetutils-tools 2:2.7-2ubuntu1
- ubuntu resolute: inetutils-tools 2:2.7-2ubuntu1.1
- ubuntu stonking: inetutils-tools 2:2.8-2ubuntu1
- Copyright Β© 2015 Free Software Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms