|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Administration: Naming and Directory Services Oracle Solaris 11 Information Library|
Typically, NIS clients are configured with the nsswitch.conf file to use only NIS for machine name and address lookups. If this type of lookup fails, an NIS server can forward these lookups to DNS.
For more information, see How to Obtain Administrative Rights in Oracle Solaris Administration: Security Services.
The two map files, hosts.byname and hosts.byaddr must include the YP_INTERDOMAIN key. To test this key, edit /var/yp/Makefile and modify the following lines.
makedbm will now start with the -b flag when it makes the maps, and the YP_INTERDOMAIN key will be inserted into the ndbm files.
# /usr/ccs/bin/make hosts
The following command lists all of the IP addresses for the DNS name servers:
# svcprop -p config/nameserver network/dns/client
# svcadm restart network/nis/server:instance
In this implementation of NIS, the ypserv daemon automatically starts with the -d option to forward requests to DNS.