telnet on local LAN question (progress?)

Craig White craigwhite at azapple.com
Thu Aug 25 02:31:03 UTC 2011


On Tue, 2011-08-23 at 14:21 +0930, Tim wrote:

> Ugh, a test mail has come from 127.0.0.1.  You've got machine names
> resolving to 127.0.0.1.  Name resolution is up the spout, and it *does*
> strike problems with various servers, despite the number of people who
> *apparently* get away with putting their machine hostname into the local
> loopback addresses in their hosts file.
> 
> Have a look at a virgin hosts file, and it'll be like this:
> 
> cat /etc/hosts
> # Do not remove the following line, or various programs
> # that require network functionality will fail.
> 127.0.0.1  localhost.localdomain   localhost
> ::1        localhost6.localdomain6 localhost6
> 
> No matter what anybody says, and despite the setup of Fedora doing it,
> it's a bad bad BAD idea to bodge *anything* else into those two local
> lines.  Sure, you can get away with it under *some* circumstances.  But
> you can run into a hell of a lot of pain under other circumstances.
----
I'm not a fan of it either but that is indeed the way things are done.
I'm sort of old school on this myself but Ubuntu does things
similarly...

127.0.0.1       localhost
127.0.1.1       srv2.azapple.com        srv2

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

so go figure and I sort of decided to stop fighting it and go with the
flow. It works fine.

Craig



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the users mailing list