SUMMARY - Creating/Configuring NIS/DNS

From: Dave Cain (
Date: Tue Feb 06 1996 - 11:40:47 CST

My original message read as follows:
>I would like to get NIS working on a Sparc 20
>running SunOS 4.1.4 with the OS preloaded from
>a vendor. I have a few questions:
>1. I don't seem to have a /var/yp directory,
>but rather a /var/yp- directory.
>Is there some utility I need to run to create
>the directory structure?

The general concensus seemed to be that the /var/yp-
directory was named that way to prevent NIS from
coming up. I therefore:
# deleted /var/yp-
# mkdir /var/yp
# cp /usr/lib/NIS.Makefile /var/yp/Malke
# ran /usr/etc/yp/ypinit [option]

>2. According to the FAQ I shouldn't need to install
>the resolv libraries to get DNS working, if NIS is
>working. However, I've heard of some DNS problems
>under SunOS 4.1.3 without the resolv libraries.
>Anyone have problems with DNS when NIS is running?

Once NIS was working, I followed the Sun Managers FAQ on
how to setup DNS. In my case I also had to create a router
entry by creating /etc/defaultrouter file. And viola, I
had a working NIS/DNS system.

In short most people haven't had trouble using DNS with NIS,
and my system seems to be working just fine.

Thanks to all.
* Dave Cain Phone: (315)426-3279 *
* Syracuse Research Corp. Fax: (315)426-3362 *
* Merrill Lane *
* Syracuse, NY 13210 *

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:53 CDT