Manual Page Result
0
Command: domainname | Section: 1 | Source: Digital UNIX | File: domainname.1.gz
domainname(1) General Commands Manual domainname(1)
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 estab-
lished for the purpose of sharing a common set of NIS data files. Do-
mains 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.
RELATED INFORMATION
ypfiles(4), ypsetup(8) delim off
domainname(1)