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

Re: /etc/hosts: Two lines with the same IP address?

On Tue, 2004-06-08 at 14:54, Thomas Hood wrote:
> On Tue, 2004-06-08 at 18:03, Greg Folkert wrote:
> > On Tue, 2004-06-08 at 11:31, Petter Reinholdtsen wrote:
> > > It break ssh X forwarding ...
> >
> > No, it will not. The resolvers stop at the first resolution. Having
> > something like:
> > 
> > localhost.localdomain localhost
> > somenode.somedom.com	somenode
> So this is perfectly OK?  Or does this run into other problems?

It would work, but the more correcter (HOW much more correcter? None
more corrector!) version would be a single line with the localhost.localdomain localhost somenode.somedomain.dom somenode

That way, you have the FQDN of lo and all of its aliases.
REMEMBER ED CURRY! http://www.iwethey.org/ed_curry

Novell's Directory Services is a competitive product to Microsoft's
Active Directory in much the same way that the Saturn V is a competitive
product to those dinky little model rockets that kids light off down at
the playfield. -- Thane Walkup

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: