On Sat, Aug 09, 2008 at 11:40:44PM -0700, Kaw Ay wrote:
        .
        .

> i then editted /etc/nsswitch.conf and modified the following line:
> hosts:       files
> to this:
> hosts:       files dns
> 
> after this i could browse to google.com in firefox and resolve it via a host 
> lookup
> 
> 
> what i dont understand is:
> why should i have to modify the /etc/nsswittch.conf file?

        In fact, you shouldn't have to necessarily modify the file, the
        best practice in this case would be:
                
        . make a copy of your /etc/nsswitch.conf to some safe place 
        . copy the /etc/nsswitch.dns over current /etc/nsswitch.conf

        It is one of the steps for enabling "services" to use DNS.

        More in nsswitch.conf(4) and others.


        /j.

        ps. the opensolaris-arc@ isn't indeed the right place for these
        type of questions, fwded/replied to [EMAIL PROTECTED]
        http://mail.opensolaris.org/mailman/listinfo

_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to