Subject: Re: forcing hostname as fqdn
To: Perry E. Metzger <perry@piermont.com>
From: john heasley <heas@shrubbery.net>
List: source-changes
Date: 05/30/2006 16:23:25
Tue, May 30, 2006 at 07:12:32PM -0400, Perry E. Metzger:
> 
> Hubert Feyrer <hubert@feyrer.de> writes:
> > On Tue, 30 May 2006, Perry E. Metzger wrote:
> >> BTW (this is a general note to everyone) perhaps we should rig the rc
> >> scripts to "force" hostname to be an fqdn, which would eliminate that
> >> possible configuration mistake for postfix users. Then there really
> >> would be very little the naive user would have to worry about.
> >
> > What about those people that run NetBSD on private networks w/o DNS?
> 
> It won't harm them to pick a fake FQDN, or we could let them have a
> variable that disables the "requirement" for an FQDN.
> 
> Perry

A hostname is a not a FQDN, so why should gethostname() should return a
FQDN.