Praveen Kumar schrieb:
> I have strange issues in name resolving when I am using my wireless 
> connection. I use WPA TKIP security on my wireless router at home. When 
> I boot OpenSolaris 2008.05 (snv_91) and log into gnome, nwam connects me 
> to my network. I verified this by doing 'pfexec dladm show-wifi' and 
> ensured that my interface wpi0 got a IP address. Also I see DNS server 
> entries in /etc/resolv.conf. I am able to ping the DNS servers. 
> 'dig/nslookup network.com' returns proper results. However none of the 
> other applications are able to resolve the name. 'ping network.com' 
> immediately returns with "Unkown host". I assume that this is something 
> to do with the nscd. Restarting just nscd doesn't help. 'dig/nslookup' 
> applications use resolv.conf; hence are working fine. In-order to fix 
> this, I have to restart nwam. Does anyone know what is happening? I can 
> post more diagnostic information if needed.
>   
In short

pfexec cp /etc/nsswitch.dns /etc/nsswitch.conf


in long:

Once upon a time NIS+ and YP was more popular than DNS and there were 
hosts without DNS. For these hosts DNS was a no go. For some weird 
reason OpenSolaris still lives in these times :)

With /etc/nsswitch.conf you set chose which services the os should use 
for lookup. See also man nsswitch.conf

Arne
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to