It requires a populated "/etc/resolv.conf" file

more /etc/resolv.conf
domain ph.cox.net
nameserver 68.2.16.30
nameserver 68.2.16.25
nameserver 68.6.16.30
options timeout:3 retrans:3 retry:1 rotate


Plus the DNS client needs to be enabled - it starts at boot time if a 
/etc/resolv.conf exists.

hindmost:/home/lw31248 ->svcs -a | grep dns
disabled       Oct_20   svc:/network/dns/server:default
online         Oct_20   svc:/network/dns/client:default


Plus you will probably have to restart the 
"system/name-service-cache:default" if you changed the nsswitch.conf or 
add dns client.

svcadm restart system/name-service-cache:default

Cedric Tucker wrote, On 10/24/08 08:46:
> Hi,
>
> I am trying to make my system look at the host file first when doing a 
> nslookup, but am having problems.  I have updated the nsswitch.conf, 
> nsswitch.files, and nsswitch.dns files to say hosts:files, but it still does 
> not resolve correctly.  
>
> Can somone please help..
>
> Thanks
> --
> This message posted from opensolaris.org
> _______________________________________________
> opensolaris-help mailing list
> opensolaris-help at opensolaris.org
>   


Reply via email to