On 2009-02-05, Erling Ringen Elvsrud <erlin...@gmail.com> wrote:
>
> I prefer to keep my /etc/hosts files as clean as possible, but addding
> the nodes own name should not be a problem. Starting nscd
> should not be a problem either, but I'm not that familiar with it so I
> feel it is safer
> to just add the line in /etc/hosts. What do you think? What it the
> contents of your /etc/hosts?

My hosts contains these 3, which I think is the RHEL5 default:

        127.0.0.1               localhost.localdomain localhost
        ::1                             localhost6.localdomain6 localhost6
        192.168.10.18           shortname.example.com shortname

I think it's important to be able to resolve the names for local interfaces
without network availability. Otherwise I think some services might fail to
start.

In addition we run 'nscd'. I can't really see why you should not want to run
'nscd'. It takes off a lot of load from both DNS and other name services (nis,
ldap, other?).


  -jf

_______________________________________________
rhelv5-list mailing list
rhelv5-list@redhat.com
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to