Did commands like these not work?
looks like he needs something like:
svccfg -s svc:/system/name-service/switch setprop config/host = "files dns"
svcadm refresh svc:/system/name-service/switch
Example: Configuring /etc/switch.conf Using SMF
In the following example, we use the name service switch mechanism to allow our system to search through the DNS, LDAP, NIS, or local file sources for naming information. We again use the svccfg command on the svc:/system/name-service/switch SMF service:
root@solaris:~# svccfg -s svc:/system/name-service/switch setprop
config/default = "files nis"
root@solaris:~# svccfg -s svc:/system/name-service/switch setprop
config/host = "files dns nis"
root@solaris:~# svccfg -s svc:/system/name-service/switch setprop
config/password = "files nis"
root@solaris:~# svcadm refresh svc:/system/name-service/switch