home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / protocol / tcpip / domains / 626 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  1.6 KB

  1. Path: sparky!uunet!olivea!spool.mu.edu!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!mercury.unt.edu!sol!mstgil
  2. From: mstgil@sol.acs.unt.edu (Marc Ph. A. J. St.-Gil - Solbourne Administrator)
  3. Newsgroups: comp.protocols.tcp-ip.domains
  4. Subject: looking for "the answer"
  5. Message-ID: <mstgil.716574450@sol>
  6. Date: 15 Sep 92 16:27:30 GMT
  7. Sender: usenet@mercury.unt.edu (UNT USENet Adminstrator)
  8. Reply-To: mstgil@sol.acs.unt.edu
  9. Organization: University of North Texas
  10. Lines: 26
  11.  
  12. 1st some background...
  13.     1. We have a network with Suns, Vaxen, a Sequent, 1000s of PCs, 100s of
  14.        Macs, a handful of RS6000s, HPs, etc.s
  15.     2. We are running some software that freaks if h_name returned from
  16.        gethostbyname(3) and gethostname(2) aren't identical
  17.     3. We are using NIS/DNS on the Solbourne server
  18.     4. To satisfy the software from #2 above, our hosts files entries look
  19.        like:   129.120.1.42 sol sol.acs.unt.edu .....
  20.     5. now we want to install some software that seems to insist on replacing
  21.        the host name it sees with the h_name value returned by gethostbyname()
  22.        for that original host name which leaves us with "sol" instead of
  23.        "sol.acs.unt.edu"
  24.  
  25. so, now we have two dissenting software implementations...
  26.  
  27. OK, here's the question...
  28.     which is "the official name" for a host...
  29.     hostname   or   hostname.domain
  30.  
  31. I tend to lean towards hostname.domain since it is more specific,
  32. Kinda like is my "official name" Marc  or  Marc Philip Alexander Jordan St.-Gil.
  33. The U.S. Gov. says it's the latter.
  34.  
  35. So, does that mean that gethostname(2) should return host.domain?????
  36.  
  37. In a quandry
  38.