Instead using nano/vi, you'll need to use configuration tool to modify /etc/resolv.conf -file on Solaris 11
Fireup the configuration tool
root@yourserver:/svccfg -s dns/client
listprop config -- lists current configuration
delprop xxxx -- deletes current configuration
setprop xxxx -- sets current configuration
exit -- when done
After this restart the network/dns services
svcadm refresh dns/client
svcadm restart dns/client
svcadm refresh name-service/switch
No comments:
Post a Comment