GLOBUS-DOMAINNAME(1)

✨ NAME ✨

globus-domainname β€” bestie, this one prints your local system's DNS domain name πŸ’–


🌸 SYNOPSIS 🌸

globus-domainname [ -h | -help ] [ -version -versions ]

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so picture this: you're sitting on some host, you don't know what domain it lives in, and you're like "who am I" but for DNS. That's the whole gig. The globus-domainname program prints the domain name of the host it's running on. No cap, that's it, that's the function. 🫢

And here's the tea β€” it uses the exact same algorithm as the globus-hostname command. Same brain, different output. If you know one, you lowkey know the other. πŸ’…

Now for the plot twist that actually matters: setting the GLOBUS_HOSTNAME environment variable will override the values returned from gethostname() and gethostbyname(). So if the system's telling you one thing and your env var's telling you another… the env var wins. Periodt. πŸ‘‘

The full set of options to globus-dommainname are:

  • -help β€” shows you the usage info and then dips out. Exit, stage left. πŸŽ€
  • -version β€” shows you the version info and then also dips out. Same energy, different info. ✨
Not me noticing the original spells it globus-dommainname in that sentence while the actual command is globus-domainname… keeping it exactly as it is because we do not edit the sacred texts πŸ™ˆ

πŸ’œ AUTHOR πŸ’œ

Copyright © 1999-2016 University of Chicago 🌈


And that's a wrap, bestie!! This little page came to you straight from the Grid Community Toolkit 6, dated 03/31/2018. Go forth and know your domain πŸ’–βœ¨πŸŽ€