Re: Host: fqdn

On  Tue Oct  3 23:33:46 1995 (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

in the hosts file instead of the correct form: 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