Mailinglist Archive: opensuse (882 mails)

< Previous Next >
Re: [opensuse] What is the proper entry for /etc/hosts 127.0.0.1?
  • From: John Andersen <jsamyth@xxxxxxxxx>
  • Date: Thu, 30 Dec 2010 17:38:49 -0800
  • Message-id: <4D1D3429.80005@xxxxxxxxx>
On 12/30/2010 2:45 PM, David C. Rankin wrote:
Guys,

What is the proper entry for 127.0.0.1 in /etc/hosts? I have seen
discussion
that 127.0.0.2 is deprecated so that leaves a problem with dnsdomainname if
you
remove the 127.0.0.2 entry and leave the 127.0.0.1 entry as:

127.0.0.1 localhost.localdomain localhost yourRealHostname

In this situation, dnsdomainname resolves to localdomain:

15:39 phoenix:~> dnsdomainname
localdomain

Setting the entry as:

127.0.0.1 localhost.youReadDomainName.com localhost yourRealHostname

fixes the return of dnsdomainname, but does not having localdomain cause
problems as well? What say the gurus?


I thought averything 127.x.x.x pointed to localhost.
Did I miss a memo?


--
_____________________________________
---This space for rent---
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
References