/etc/hosts

Fraser Campbell fraser-Txk5XLRqZ6CsTnJN9+BGXg at public.gmane.org
Thu Aug 14 19:18:28 UTC 2003


On Thursday 14 August 2003 14:00, Max Blanco wrote:

> I wonder what will be the effect if I have two entries in the /etc/hosts
> file for the same machine?
>
> 192.168.1.9	johannes	johaness.blanco.org
> 192.168.1.9	geeklog		geeklog.net
>
> Is this kosher?

If it works, it works but it would probably be more correct (according to my 
reading of the manpage) to do thsi:

192.168.1.9	johaness.blanco.org johannes geeklog geeklog.net

That is this:

	IP 	CANONICAL_NAME		ALIASES

Regards
-- 
Fraser Campbell <fraser-Txk5XLRqZ6CsTnJN9+BGXg at public.gmane.org>                 http://www.wehave.net/
Halton Hills, Ontario, Canada                       Debian GNU/Linux

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list