NIS is generally used on private network (under a single administration authority). Given its ability to share user account and other information (more than machine names) over the network, it is a natural on a private network. It has generally priority (if you use it) over DNS.