127.0.1.1 in /etc/hosts, why?

Casey Stamper casey.stamper at gmail.com
Fri Aug 10 08:43:45 UTC 2007


On 8/10/07, Gerald Dachs <ubuntu at dachsweb.de> wrote:
> Hi,
>
> it would be nice if someone could explain me why the /etc/host shows
>
>     127.0.0.1 localhost
>     127.0.1.1 mycomputer.mydomain mycomputer
>
> instead of
>
>     127.0.0.1 localhost mycomputer.mydomain mycomputer
>
> Currently I have only problems with this. What is the benefit of this
> separate IP?
>
> Regards
> Gerald
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>

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.

-- 
Casey Stamper
http://www.stampersite.com/wordpress




More information about the ubuntu-users mailing list