Mailinglist Archive: opensuse (882 mails)

< Previous Next >
[opensuse] What is the proper entry for /etc/hosts 127.0.0.1?
  • From: "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
  • Date: Thu, 30 Dec 2010 16:45:51 -0600
  • Message-id: <4D1D0B9F.2020400@xxxxxxxxxxxxxxxxxx>
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?

--
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
List Navigation