Content-type: text/html Man page of domainname

domainname

Section: User Commands (1)
Index Return to Main Contents
 

NAME

domainname - display or set the name of the current NIS domain for this system  

SYNOPSIS

domainname [nameofdomain]


 

DESCRIPTION

The domainname command, when used without an argument, displays the name of the current domain. When used with argument, sets the current Network Information Service (NIS) domain name to the specified domain name.

A domain is a logical grouping of networked-connected systems established for the purpose of sharing a common set of NIS data files. Domains are only used by NIS.

The NIS maps for a particular domain are stored in the directory /var/yp/domainname*O on each NIS server. Each NIS map contains a set of keys and associated key values. For example, in a map called hosts.byname, the host names stored there constitute the keys. The corresponding internet addresses of each host constitute the associated key values.
 

SEE ALSO

ypfiles(4), ypsetup(8)


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:42:58 GMT, October 02, 2010