On Wed, Jan 20, 2010 at 12:53 PM, Baho Utot <baho-utot@xxxxxxxxxxxxxxx> wrote: > > FYI > 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. I think this comes close to what Debian does, I've kept my /etc/hosts file since I ran Debian and it looks like this: #<ip-address> <hostname.domain.org> <hostname> 127.0.0.1 localhost 127.0.1.1 bryma.fq.dn bryma There's an explanation for it here http://www.debian.org/doc/manuals/reference/ch-gateway.en.html#s-net-dns /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca|twitter: magthe