FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

LinkBack Thread Tools
Old 12-12-2008, 05:16 PM
Chris G
Default localhost or LAN addresses in /etc/hosts

How does one decide whether to put a machine's name as a localhost
address or an actual LAN address in /etc/hosts?

My ubuntu server machine's name is isbd, this appears in three places
in /etc/hosts at the moment:- isbd localhost.localdomain localhost isbd home.isbd.net isbd 84-45-228-40.no-dns-yet.enta.net chris.isbd.net

This is all very well until one runs something like dnsmasq and get
localhost addresses when asking for the address of isbd.

I think the is redundant and should be removed, can I also
remove the isbd from the line as well? Why does it get put
there, maybe it's there for use when the machine gets its IP via DHCP
and thus it isn't fixed.

Chris Green

ubuntu-users mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Thread Tools

All times are GMT. The time now is 01:09 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org