W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > September to December 1995

Re: Host: fqdn

From: Mike Braca <mb@ebt.com>
Date: Wed, 4 Oct 1995 06:20:23 +0500
Message-Id: <9510041020.AA06718@saskatoon.ebt>
To: http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com, mshapiro@ncsa.uiuc.edu

On  Tue Oct  3 23:33:46 1995 mshapiro@ncsa.uiuc.edu (Michael Shapiro) wrote:
> I looked at Mac/Windows/Unix
> gethostbyname() and the Unix version did not return the fqdn.

Most likely due to a broken /etc/hosts file.  In my experience, many sys
admins put  foo foo.bar.com

in the hosts file instead of the correct form:  foo.bar.com foo

If you find the h_name is not qualified, you can increase the probability of
turning up a fqdn if you poke through the alias list for something with dots.

Received on Wednesday, 4 October 1995 03:27:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:40:15 UTC