Before configuring your NIS namespace, you must do the following.
Plan your NIS domain. See Planning Your NIS Domain for details.
Install properly configured name service switch information on all the machines that will be using NIS. See Chapter 2, About the Name Service Switch for details.