Dave Sherman wrote on Mon, Jun 24, 2002 at 10:32:04PM -0500 : > > > > > > /etc/hosts: > > > 127.0.0.1 localhost.localdomain localhost > > good start > > > 127.0.0.1 lapdog.ravenhome.net lapdog > > bad. Delete it. > Out of curiosity, why is it "bad" to have two lines with different > hostnames pointing at the same IP address? Other than the fact that it > isn't very elegant?
After digging through the documentation available to me I have concluded that there is no technical basis for my conclusion that it was bad, just because it was a duplicate of the line above it. However, be careful about quoting out of context. His was: 127.0.0.1 localhost.localdomain localhost 127.0.0.1 lapdog.ravenhome.net lapdog 10.0.0.1 lapdog.ravenhome.net lapdog If you try to test to lapdog.ravenhome.net, are you using localhost or are you using the ethernet interface? Or is it possible to distinguish? I will change my description from "bad. Delete it." to "confusing and redundant. Delete it". Good call, Dave. Regards... Todd -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-20mdk
msg55699/pgp00000.pgp
Description: PGP signature