[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: localhost in /etc/hosts



> Am 2006-11-13 02:07:52, schrieb David Jardine:
> > To muddy the water a little more, I have
> > 
> > 127.0.0.1	quash	localhost	loopback

On 19.11.06 15:14, Michelle Konzack wrote:
> This is definitivly wrong!
> 
> An /etc/hosts file can have only 3 fields plus comment.

no, there may be more aliases

> It should be
> 
> 127.0.0.1		localhost	localhost	# Localhost
> 
> IP.OF.THE.SYSTEM	<fqdn>		<hostname>	# My Computer

we are talking about machines that DO NOT HAVE "IP.OF.THE.SYSTEM".

There are machines that are not permanently connected to the internet and
they can NOT just use any IP (except range 127.0.0.0/8) just because they
connect to different networks where any other IP could cause a problem.

This will be different with IPv6, but it is the current status of IPv4.
-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Micro$oft random number generator: 0, 0, 0, 4.33e+67, 0, 0, 0...



Reply to: