home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1996 May / PCOnline_05_1996.bin / linux / source / n / tcpip / netkit-a.06 / netkit-a / NetKit-A-0.06 / net-tools-1.1.38 / README.hostname < prev    next >
Encoding:
Text File  |  1994-08-17  |  729 b   |  21 lines

  1.  
  2. You may ask "Why another version of the hostname command?". The answer is
  3. simple. A lot of people misuse the domainname command to get the DNS domain
  4. name. Since the domainname command should ONLY be used to set/show the NIS
  5. domain name (formerly known as Yellow Pages) there was no easy way to get
  6. the FQDN (Fully Qualified Domain Name) or the domainname from within a
  7. shell script.
  8.  
  9. This hostname command offers you some additional features:
  10.  
  11. - show the FQDN (long host name)
  12. - show the short host name
  13. - show the DNS domain name
  14. - read the host name from file
  15.  
  16. For further informations simply type "hostname --help" or read the manual
  17. page.
  18.  
  19. If the program is called as dnsdomainname it will simply show the DNS domain
  20. name.
  21.