Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Chapter 9, Using Role-Based Access Control (Tasks), in System Administration Guide: Security Services.
The two map files, hosts.byname and hosts.byaddr must include the YP_INTERDOMAIN key. To test this key, edit the Makefile and modify the following lines.
#B=-b B= |
to
B=-b #B= |
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.
Run the make command to rebuild maps.
# /usr/ccs/bin/make hosts |
Check that all the NIS server's /etc/resolv.conf files point to valid nameservers.
If you have NIS servers that are not running Solaris, Release 2, make sure YP_INTERDOMAIN exists in the hosts maps.
To enable DNS forwarding, restart each server.
# svcadm restart network/nis/server:<instance> |
In this implementation of NIS, ypserv automatically starts with the -d option to forward requests to DNS.