Re: localhost in /etc/hosts
On Wed, Nov 22, 2006 at 12:17:03AM +0100, Vincent Lefevre wrote:
> On 2006-11-21 15:49:07 +0100, Matus UHLAR - fantomas wrote:
> Indeed your hosts.allow probably wasn't complete. In addition to
> localhost, you should have added the hostname. Or perhaps the IP
> address 127.0.0.1.
> > there often is no FQDN, as there is often no IP.
> The machine should always have a FQDN, though it may be resolved
> locally only (in particular if your machine is not on a network).
> Otherwise you'll have problems with software that requests it (I
> don't think there's another portable way to fully identify the
I've had stand-alone (aka secure) boxes called localhost, with only the
standard 127.0.0.1 /etc/hosts entry. Never had a problem.