NIS Domain Names

NIS uses a domain name setting, as does DNS. Where they pick up their domain name from can become confusing, so let's clarify that now.

The DNS domain name is the one normally thought of as the “Internet domain name,” while the NIS domain name is a token used to define the NIS boundaries. The two domains are treated as separate entities, and so they could both be set to the same value without any conflict.

The way each name service determines its domain name is shown in Table 12.4.

Table 12.4. Domain Name Ordering
Name ServiceMeaning
NISUses the value returned by domainname
DNSTries to use the variable LOCALDOMAIN Followed by the entry from /etc/resolv.conf Followed by the value returned by domainname Lastly, tries to determine ...

Get Solaris™ Operating Environment Boot Camp now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.