SUMMARY: appropriate hostname

From: boudreg@terre.IRCM.UMontreal.CA
Date: Wed Mar 08 1995 - 22:27:12 CST


Here is a question I posted:

With the command 'hostname' should I set only the machine name like:
   hostname earth
or the complete domain name like:
   hostname earth.IRCM.UMontreal.CA

Thank you to all that replied:

David Zhu (wzhu@cse.unl.edu)
Mike (MEYSTMA%DUVM.BITNET@pucc.PRINCETON.EDU)
Kevin (Kevin.Sheehan@uniq.com.au)
James Mularadelis (jamesm@matrix.newpaltz.edu)
Jerry Springer (jerry.springer@valcom.com)
Elaine (mele@syl.nj.nec.com)
Murphy (murphy@dsr.com)

They all suggested basically to set the hostname to just the machine name (the short form).
Of course the domainname is set with /etc/defaultdomain, but it depends also on the configuration of
NIS+ and DNS.

After checking with the mail administrator of my domain at the University of Montreal from which we
are a subnet, I had to set the names of my stations to the fully qualified domain name (the long
format).

This insure proper headers (return path) for the mail coming from any station of my network. It is
also a good idea security wise to have the full name. It is harder for outside station to
impersonnate another station.

======================================================================
, @ _{)_ , Gaetan Boudreau, ing
 \/( )\/"\/\ /\/ Ingenieur de systemes/System Engineer
   /=\ /==\ IRCM (Institut de recherches cliniques de Montreal/
  /___\ |/\| Clinical Research Institute of Montreal)
  _/ \_ \# _# tel: 514-987-5563 fax: 514-987-5644

CompuServe: 70754,3467
Internet: BoudreG@IRCM.UMontreal.CA



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:18 CDT