O'Reilly logo

Solaris™ Operating Environment Boot Camp by Dominic Butler, David Rhodes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required