On 8 August 2010 14:00, Tim Green timothy.j.green@gmail.com wrote:
On 8 August 2010 13:46, Chris G cl@isbd.net wrote:
What do others here have in their /etc/hosts file? I.e. do you have an entry for the name of the system in /etc/hosts as well as specifying it in /etc/hostname?
I have: 127.0.1.1 timspc
Not sure if that was me or Ubuntu 10.04, but it seems to work fine.
Hmm I just noticed the unusual use of the loopback address block as well..
srdjan@serenity:~$ cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 serenity
# Block list 127.0.0.2 r00nskape.fileave.com 127.0.0.2 www.partypoker.com
I used to configure my machine so that the static LAN address was used for the hostname, so was a little surprised to see Ubuntu using 127.0.1.1 for the hostname. It still works so I don't worry about it.
The block list is there to stop pesky scripts, adverts, malware from being resolvable before I started to use NoScript. I used to have a large list of these somewhere, but probably got wiped during some upgrade or re-install. I should have a look at better software to block these.
Srdjan