"Anthony E . Greene" <[EMAIL PROTECTED]> writes:

> On Mon, 08 Jan 2001 13:39:07 Jonathan Wilson wrote:
> >Should the command "hostname" show only the short hostname ("host") or the
> >FQDN ("host.domain.tld")
> 
> According to the man page, you are supposed to use "hostname -fqdn" to get
> the FQDN. That implies that the command by itself only returns the hostname.
> The man page also refers to the gethostname(2) system call. That command
> only retreives the unqualified hostname, not the FQDN.
> 
> hostname --help

Butting in here for a moment.. 
What repercussions might one expect by haveing hostname return fqdn
with out the -fqdn flag.  Maybe this might explain unexpected trouble
that may occur regarding hostname lookups like done by sendmail and
lots of other apps.

I've set the hostname to fqdn for a long while now... Anyone know what
trouble this may cause?



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to