On Sun, Aug 10, 2008 at 8:40 AM, Kaw Ay <[EMAIL PROTECTED]> 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? >
basically: /etc/resolv.conf configures the DNS client. /etc/nsswitch.cong configured the name resolutions services TO USE THE DNS client. nslookup uses DNS (and thus /etc/resolv.conf) automatically. Most other services (ping, getent, telnet) uses the generic name lookup services (as they should), which then when correctly configured, will redirect the name lookup entry to DNS. -- Any sufficiently advanced technology is indistinguishable from magic. Arthur C. Clarke Afrikaanse Stap Website: http://www.bloukous.co.za My blog: http://initialprogramload.blogspot.com
_______________________________________________ opensolaris-discuss mailing list [email protected]
