> 
> >> 
> >> SUCCESS=return is the default behaviour. Or it
> should
> >> be - are you
> >> saying that it's not?
> >
> >Yep, You can confirm this by putting a local entry
> in your host file, setting your nsswitch entry
> >hosts:      files    dns
> >disable name service cache, configure resolv.conf
> for DNS. 
> >Now snoop your interface for DNS server address and
> ping the host in the host file.
> >You will see a DNS lookup. 
> >I never trust the defaults.
> 
> I still trust the defaults; it's much more likely
> that you've seen 
> additional lookups even using that same name,
> especially when running
> snoop.
> 
> Casper
> 
> _______________________________________________
> opensolaris-discuss mailing list
> [email protected]

I understand what you are saying Casper and I respect your opinion most of all. 
But I have seen strange behavior from nsswitch since Solaris 8 2/02. I have 
learned not to trust what should be and have gotten into the practice of 
explicitly telling the OS exactly what I want it to do. I found this practice 
keeps me out of many bumps in the road. I consider it best practices to 
configure a system with exactly what you want it to do and assume nothing. 

Sorry to have to disagree with you.
mike
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to