Re: Last networkmanager in testing busts everything in?gnome ?

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



On Wed, Jan 20, 2010 at 07:53:10AM -0500, Baho Utot wrote:
> On Friday 08 January 2010 03:54:23 Allan McRae wrote:
> > Ionut Biru wrote:
> > Yep, my /etc/hosts file was definitely changed:
> > 
> > #
> > # /etc/hosts: static lookup table for host names
> > #
> > 127.0.0.1	localhost.localdomain	localhost
> > 
> > #<ip-address>	<hostname.domain.org>	<hostname>
> > 127.0.0.1	arch
> > 127.0.0.1	localhost.localdomain	localhost
> 
> I was having trouble with networking several years ago and had a /etc/host 
> like yours.  I posted to usenet and the network gurus there promptly busted me 
> for that layout.
> 
> They told me to do this instead:
> 
> #<ip-address>	<hostname.domain.org>	<hostname>
> 127.0.0.1                   localhost.localdomain            localhost
> 127.0.0.2                   arch.<yourdomain>              arch
> 
> They claim that the above conforms to the RFC's and reusing the 127.0.0.1 
> address can confuse some apps.
> 
> I have been using the above and it has always worked, no busted apps.


This also seems to work for me, at least the extra aliases at the end of
the line are respected:

#<ip-address>	<hostname.domain.org>	<hostname>
127.0.0.1       localhost.localdomain   localhost    arch


-- 
Jim Pryor
profjim@xxxxxxxxxxxx


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux