[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: configuration of a linux router



On Sun, Mar 16, 2008 at 08:12:44PM -0400, Douglas A. Tutty wrote:
> On Sun, Mar 16, 2008 at 04:38:36PM -0700, peasthope@shaw.ca wrote:
> > # /etc/hosts file
> > 127.0.0.1       peasthope.yi.org        joule   localhost
>                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>     this should be: localhost.localdomain	localhost

the archive of the debian mailing lists contain a long discussion about
"localhost" versus "localhost.localdomain"

>From what I remember, the RFCs for the DNS say that "localhost" *is* a
FQDN (the only one without a dot, to the best of my knowledge), and they
do not speak about "localhost.localdomain"

So a line

127.0.0.1       localhost

or

127.0.0.1       localhost	first-alias	second-alias

should be correct.

-- 
Chi usa software non libero avvelena anche te. Digli di smettere.
Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale.
Informatica=bomba: intelligente solo per gli stupidi che ci credono.


Reply to: