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