Solaris Naming Setup and Configuration Guide

How to Enable an NIS+ Client to Use DNS

  1. Log in as superuser.

  2. Open the /etc/nsswitch.conf file.

  3. Specify DNS as a source of hosts information.

    DNS can be the only source or an additional source for the hosts information. Locate the hosts line and use DNS in one of the ways shown below:


    hosts: files dns

    or


    hosts: nisplus dns [NOTFOUND=return] files

    or


    hosts: dns nisplus [NOTFOUND=return] files

    Do not use the above syntax for NIS clients, since they will be forced to search for unresolved names twice in DNS.

  4. Save the file and reboot the workstation.

    Because the nscd daemon caches this information, which it reads at start up, you must reboot the workstation now.