Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: 127.0.1.1 in /etc/hosts, why?

From: Gerald Dachs <ubuntu(at)dachsweb.de>
Date: Fri Aug 10 2007 - 10:21:30 EDT


Quoting Derek Broughton <news@pointerstop.ca>:

> Gerald Dachs wrote:
>
>> Quoting Casey Stamper <casey.stamper@gmail.com>:
>>
>>> I will admit my ignorance as to why that entry is in there but I DO
>>> know that if you add mycomputer.mydomain mycomputer to the first line
>>> as well, your name resolution speed increases and DNS lookups are much
>>> faster.
>>
>> Yes, I have read this too when I searched for a reason for this 127.0.1.1
>> IP. This makes it even more questionable. Is this a bug?
>> I have seen this only in Ubuntu and I have seen many Linux and Unix
>> installations.
>
> Is which a bug? If domain name resolution is really slowed, I'd think
> that's a bug. Using 127.0.1.1 is not a bug. It can be quite handy to use
> different IPs for different ways to name the local machine, and 127.* is
> always the local machine. I really don't see how using multiple 127
> addresses should slow down my name resolution.

Slow name resolution is not my problem. That amavisd-new has now to handle connects from 127.0.0.1 and 127.0.1.1 is my problem. Maybe there are other services that have similar problems. From your post I understand that this
IP 127.0.1.1 is not an ubuntu requirement, so I will change the hosts to only use the 127.0.0.1 to make my configuration more easy.

Thanks
Gerald



This message was sent using IMP, the Internet Messaging Program.
-- 
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Received on Fri Aug 10 10:24:26 2007

This archive was generated by hypermail 2.1.8 : Tue Oct 16 2007 - 06:17:36 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library