How you enable a machine to use DNS depends on your underlying enterprise-level name service:
NIS+. If your primary enterprise-level name service is NIS+, follow the directions described in "Enabling a Machine to Use DNS".
NIS. If your primary enterprise-level name service is NIS, and it is correctly set up, do nothing. With proper configuration, NIS is ready to use DNS from the time it is installed.
Files-based. If your primary enterprise-level name service is based on /etc files, follow the directions described in "Enabling a Machine to Use DNS".
For additional information on the nsswitch.conf file, see Solaris Naming Administration Guide.